Date: Wed, 30 Jul 2008 09:26:27 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet6 raw_ip6.c Message-ID: <200807301819.m6UIJWFa003537@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807301819.m6UIJWFa003537>