Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153103039
D35179.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
493 B
Referenced Files
None
Subscribers
None
D35179.diff
View Options
diff --git a/sys/net/debugnet.c b/sys/net/debugnet.c
--- a/sys/net/debugnet.c
+++ b/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
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 4:12 AM (4 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31819446
Default Alt Text
D35179.diff (493 B)
Attached To
Mode
D35179: debugnet: fix an errant assertion
Attached
Detach File
Event Timeline
Log In to Comment