Page MenuHomeFreeBSD

D5252.diff
No OneTemporary

D5252.diff

Index: head/sys/dev/xen/netfront/netfront.c
===================================================================
--- head/sys/dev/xen/netfront/netfront.c
+++ head/sys/dev/xen/netfront/netfront.c
@@ -2280,11 +2280,9 @@
netif_disconnect_backend(np);
free(np->rxq, M_DEVBUF);
free(np->txq, M_DEVBUF);
- if (np->xn_ifp != NULL) {
- ether_ifdetach(np->xn_ifp);
- if_free(np->xn_ifp);
- np->xn_ifp = NULL;
- }
+ ether_ifdetach(np->xn_ifp);
+ if_free(np->xn_ifp);
+ np->xn_ifp = NULL;
ifmedia_removeall(&np->sc_media);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 27, 6:16 AM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29018221
Default Alt Text
D5252.diff (527 B)

Event Timeline