Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107098101
D33508.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D33508.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
@@ -800,24 +800,24 @@
if ((error = sa6_embedscope(addr, V_ip6_use_defzone)) != 0)
return (error);
- INP_INFO_WLOCK(&V_ripcbinfo);
INP_WLOCK(inp);
+ INP_INFO_WLOCK(&V_ripcbinfo);
/* Source address selection. XXX: need pcblookup? */
NET_EPOCH_ENTER(et);
error = in6_selectsrc_socket(addr, inp->in6p_outputopts,
inp, so->so_cred, scope_ambiguous, &in6a, NULL);
NET_EPOCH_EXIT(et);
if (error) {
- INP_WUNLOCK(inp);
INP_INFO_WUNLOCK(&V_ripcbinfo);
+ INP_WUNLOCK(inp);
return (error);
}
inp->in6p_faddr = addr->sin6_addr;
inp->in6p_laddr = in6a;
soisconnected(so);
- INP_WUNLOCK(inp);
INP_INFO_WUNLOCK(&V_ripcbinfo);
+ INP_WUNLOCK(inp);
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 2:14 AM (17 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15744245
Default Alt Text
D33508.diff (815 B)
Attached To
Mode
D33508: inet6: fix a LOR between rip and rawinp
Attached
Detach File
Event Timeline
Log In to Comment