Page MenuHomeFreeBSD

D35179.id105890.diff
No OneTemporary

D35179.id105890.diff

Index: sys/net/debugnet.c
===================================================================
--- sys/net/debugnet.c
+++ sys/net/debugnet.c
@@ -605,8 +605,8 @@
{
struct ifnet *ifp;
- MPASS(g_debugnet_pcb_inuse);
MPASS(pcb == &g_dnet_pcb);
+ MPASS(pcb->dp_drv_input == NULL || g_debugnet_pcb_inuse);
ifp = pcb->dp_ifp;
if (ifp != NULL) {
@@ -646,6 +646,7 @@
.dp_seqno = 1,
.dp_ifp = dcp->dc_ifp,
.dp_rx_handler = dcp->dc_rx_handler,
+ .dp_drv_input = NULL,
};
/* Switch to the debugnet mbuf zones. */

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 23, 5:57 AM (3 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30136581
Default Alt Text
D35179.id105890.diff (529 B)

Event Timeline