Date: Sat, 1 Mar 2008 11:50:00 +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/netinet tcp_usrreq.c Message-ID: <200803011150.m21Bo0JE006789@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-03-01 11:50:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_usrreq.c Log: Merge tcp_usrreq.c:1.166 from HEAD to RELENG_7: In tcp_ctloutput(), don't hold the inpcb lock over sooptcopyin(), rather, drop the lock and then re-acquire it, revalidating TCP connection state assumptions when we do so. This avoids a potential lock order reversal (and potential deadlock, although none have been reported) due to the inpcb lock being held over a page fault. PR: 102752 Reviewed by: bz Reported by: Václav Haisman <v dot haisman at sh dot cvut dot cz> Revision Changes Path 1.163.2.3 +55 -25 src/sys/netinet/tcp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803011150.m21Bo0JE006789>