Author: mjacob Date: Fri May 14 21:27:39 2010 New Revision: 208101 URL: http://svn.freebsd.org/changeset/base/208101
Log: Yet another potential dereference of a dead provider. Sponsored by: Panasas MFC after: 1 week Modified: head/sys/geom/multipath/g_multipath.c Modified: head/sys/geom/multipath/g_multipath.c ============================================================================== --- head/sys/geom/multipath/g_multipath.c Fri May 14 21:11:58 2010 (r208100) +++ head/sys/geom/multipath/g_multipath.c Fri May 14 21:27:39 2010 (r208101) @@ -197,7 +197,7 @@ g_multipath_done_error(struct bio *bp) break; } } - if (sc->cp_active == NULL) { + if (sc->cp_active == NULL || sc->cp_active->provider == NULL) { printf("GEOM_MULTIPATH: out of providers for %s\n", sc->sc_name); g_topology_unlock(); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"