Page MenuHomeFreeBSD

D20868.diff
No OneTemporary

D20868.diff

Index: sys/net/if_epair.c
===================================================================
--- sys/net/if_epair.c
+++ sys/net/if_epair.c
@@ -609,8 +609,10 @@
struct epair_softc *sc;
sc = ifp->if_softc;
- KASSERT(sc != NULL, ("%s: ifp=%p, epair_softc gone? sc=%p\n",
- __func__, ifp, sc));
+
+ if (sc == NULL)
+ return;
+
/*
* Remove this ifp from all backpointer lists. The interface will not
* usable for flushing anyway nor should it have anything to flush

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 6:26 AM (11 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30803176
Default Alt Text
D20868.diff (482 B)

Event Timeline