Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147695509
D15393.id42421.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
958 B
Referenced Files
None
Subscribers
None
D15393.id42421.diff
View Options
Index: sys/netinet/in_mcast.c
===================================================================
--- sys/netinet/in_mcast.c
+++ sys/netinet/in_mcast.c
@@ -2501,6 +2501,8 @@
/*
* Begin state merge transaction at IGMP layer.
*/
+ in_pcbref(inp);
+ INP_WUNLOCK(inp);
IN_MULTI_LOCK();
if (is_final) {
@@ -2531,6 +2533,9 @@
out_in_multi_locked:
IN_MULTI_UNLOCK();
+ INP_WLOCK(inp);
+ if (in_pcbrele_wlocked(inp))
+ return (ENXIO);
if (error)
imf_rollback(imf);
Index: sys/netinet6/in6_mcast.c
===================================================================
--- sys/netinet6/in6_mcast.c
+++ sys/netinet6/in6_mcast.c
@@ -2381,6 +2381,8 @@
/*
* Begin state merge transaction at MLD layer.
*/
+ in_pcbref(inp);
+ INP_WUNLOCK(inp);
IN6_MULTI_LOCK();
if (is_final) {
@@ -2407,6 +2409,9 @@
}
IN6_MULTI_UNLOCK();
+ INP_WLOCK(inp);
+ if (in_pcbrele_wlocked(inp))
+ return (ENXIO);
if (error)
im6f_rollback(imf);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 13, 11:57 PM (12 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29642482
Default Alt Text
D15393.id42421.diff (958 B)
Attached To
Mode
D15393: Fix LORs in in*_leave_group()
Attached
Detach File
Event Timeline
Log In to Comment