Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142486704
D41629.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
357 B
Referenced Files
None
Subscribers
None
D41629.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,6 +915,8 @@
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);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 8:53 AM (8 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27798274
Default Alt Text
D41629.diff (357 B)
Attached To
Mode
D41629: mcast: fix memory leak in imf_purge()
Attached
Detach File
Event Timeline
Log In to Comment