cvs commit: src/sys/netinet6 raw_ip6.c
Robert Watson
rwatson at FreeBSD.org
Wed Jul 30 18:19:32 UTC 2008
rwatson 2008-07-30 09:26:27 UTC
FreeBSD src repository
Modified files:
sys/netinet6 raw_ip6.c
Log:
SVN rev 180990 on 2008-07-30 09:26:27Z by rwatson
Adopt the slightly weaker consistency locking approach used in IPv4 raw
sockets for IPv6 raw sockets: separately lock the inpcb for determining
the destination address for a connect()'d raw socket at the rip6_send()
layer, and then re-acquire the inpcb lock in the rip6_output() layer to
query other options on the socket. Previously, the global raw IP socket
lock was used, which while correct and marginally more consistent, could
add significantly to global raw IP socket lock contention.
MFC after: 1 week
Revision Changes Path
1.84 +3 -7 src/sys/netinet6/raw_ip6.c
More information about the cvs-src
mailing list