cvs commit: src/sys/netinet tcp_output.c

Robert Watson rwatson at FreeBSD.org
Tue Oct 12 10:36:46 PDT 2004


rwatson     2004-10-12 17:36:45 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netinet          tcp_output.c 
  Log:
  Merge tcp_output.c:1.103 from HEAD to RELENG_5:
  
    date: 2004/10/09 16:48:51;  author: rwatson;  state: Exp;  lines: +14 -2
    Acquire the send socket buffer lock around tcp_output() activities
    reaching into the socket buffer.  This prevents a number of potential
    races, including dereferencing of sb_mb while unlocked leading to
    a NULL pointer deref (how I found it).  Potentially this might also
    explain other "odd" TCP behavior on SMP boxes (although  haven't
    seen it reported).
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.100.2.1  +14 -2     src/sys/netinet/tcp_output.c


More information about the cvs-src mailing list