Revert part of r187970, the NULL check was removed from

udbp_bulk_read_complete() as well as udbp_attach.
This commit is contained in:
Andrew Thompson 2009-02-01 01:07:15 +00:00
parent 50bf982db6
commit 84bcda5d68

View File

@ -473,6 +473,9 @@ udbp_bulk_read_complete(node_p node, hook_p hook, void *arg1, int arg2)
struct mbuf *m;
int error;
if (sc == NULL) {
return;
}
mtx_lock(&sc->sc_mtx);
m = sc->sc_bulk_in_buffer;