Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102138532
D46190.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
469 B
Referenced Files
None
Subscribers
None
D46190.id.diff
View Options
diff --git a/sys/netinet/in_mcast.c b/sys/netinet/in_mcast.c
--- a/sys/netinet/in_mcast.c
+++ b/sys/netinet/in_mcast.c
@@ -915,8 +915,6 @@
imf->imf_st[0] = imf->imf_st[1] = MCAST_UNDEFINED;
KASSERT(RB_EMPTY(&imf->imf_sources),
("%s: imf_sources not empty", __func__));
- if (imf->imf_inm != NULL)
- mbufq_drain(&imf->imf_inm->inm_scq);
}
/*
@@ -1183,6 +1181,7 @@
free(ims, M_IPMSOURCE);
inm->inm_nsrc--;
}
+ mbufq_drain(&inm->inm_scq);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 2:29 AM (19 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14548309
Default Alt Text
D46190.id.diff (469 B)
Attached To
Mode
D46190: mcast: fix leaked igmp packets on multicast cleanup
Attached
Detach File
Event Timeline
Log In to Comment