Yet another potential dereference of a dead provider.
Sponsored by: Panasas MFC after: 1 week
This commit is contained in:
parent
c9d1ca826b
commit
5fcf18695d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user