Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106980296
D35472.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
407 B
Referenced Files
None
Subscribers
None
D35472.diff
View Options
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c
--- a/sys/netinet6/raw_ip6.c
+++ b/sys/netinet6/raw_ip6.c
@@ -760,11 +760,11 @@
return (EADDRNOTAVAIL);
}
NET_EPOCH_EXIT(et);
- INP_INFO_WLOCK(&V_ripcbinfo);
INP_WLOCK(inp);
+ INP_INFO_WLOCK(&V_ripcbinfo);
inp->in6p_laddr = addr->sin6_addr;
- INP_WUNLOCK(inp);
INP_INFO_WUNLOCK(&V_ripcbinfo);
+ INP_WUNLOCK(inp);
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 11:09 AM (5 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15731923
Default Alt Text
D35472.diff (407 B)
Attached To
Mode
D35472: rip6: Fix a lock order reversal in rip6_bind()
Attached
Detach File
Event Timeline
Log In to Comment