mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Yet another potential dereference of a dead provider.
Sponsored by: Panasas MFC after: 1 week
This commit is contained in:
parent
793f71bf2e
commit
87e7f7be89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208101
@ -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