Revert part of r187970, the NULL check was removed from
udbp_bulk_read_complete() as well as udbp_attach.
This commit is contained in:
parent
50bf982db6
commit
84bcda5d68
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user