Yet another potential dereference of a dead provider.
Sponsored by: Panasas MFC after: 1 week
This commit is contained in:
parent
793f71bf2e
commit
87e7f7be89
@ -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