Author: thompsa Date: Sun Feb 1 01:07:15 2009 New Revision: 187972 URL: http://svn.freebsd.org/changeset/base/187972
Log: Revert part of r187970, the NULL check was removed from udbp_bulk_read_complete() as well as udbp_attach. Modified: head/sys/dev/usb2/misc/udbp2.c Modified: head/sys/dev/usb2/misc/udbp2.c ============================================================================== --- head/sys/dev/usb2/misc/udbp2.c Sun Feb 1 01:04:31 2009 (r187971) +++ head/sys/dev/usb2/misc/udbp2.c Sun Feb 1 01:07:15 2009 (r187972) @@ -473,6 +473,9 @@ udbp_bulk_read_complete(node_p node, hoo struct mbuf *m; int error; + if (sc == NULL) { + return; + } mtx_lock(&sc->sc_mtx); m = sc->sc_bulk_in_buffer; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"