Page MenuHomeFreeBSD

D17617.diff
No OneTemporary

D17617.diff

Index: sys/net/if_vlan.c
===================================================================
--- sys/net/if_vlan.c
+++ sys/net/if_vlan.c
@@ -570,10 +570,17 @@
VLAN_XLOCK_ASSERT();
+ if (ifp->if_flags & IFF_DYING)
+ return (ENXIO);
+
/* Find the parent. */
sc = ifp->if_softc;
ifp_p = PARENT(sc);
+ /* check if parent is freed */
+ if (ifp_p == NULL)
+ return (ENXIO);
+
CURVNET_SET_QUIET(ifp_p->if_vnet);
/* First, remove any existing filter entries. */

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 3:05 PM (2 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35406016
Default Alt Text
D17617.diff (476 B)

Event Timeline