cvs commit: src/sys/netinet tcp_usrreq.c
    Robert Watson 
    rwatson at FreeBSD.org
       
    Sat Mar  1 11:50:02 UTC 2008
    
    
  
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
    
    
More information about the cvs-src
mailing list