]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Read lock rather than write lock TCP inpcbs in monitoring sysctls. In
authorrwatson <rwatson@FreeBSD.org>
Thu, 29 May 2008 14:28:26 +0000 (14:28 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 29 May 2008 14:28:26 +0000 (14:28 +0000)
commit4ab736a48e0210d0590c2f490c981f7b6d60a697
treee6e1196ef44b7badc4f87fe1fe8687f74651f31f
parent5de6a45e07a5027a8c6df5a9c354fbfd9c76aec1
Read lock rather than write lock TCP inpcbs in monitoring sysctls.  In
some cases, add explicit inpcb locking rather than relying on the global
lock, as we dereference inp_socket, but also allowing us to drop the
global lock more quickly.

MFC after: 1 week
sys/netinet/tcp_subr.c