Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156554836
D35179.id105994.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.id105994.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
Fri, May 15, 3:30 PM (13 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33049867
Default Alt Text
D35179.id105994.diff (493 B)
Attached To
Mode
D35179: debugnet: fix an errant assertion
Attached
Detach File
Event Timeline
Log In to Comment