Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2004 16:48:51 +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_output.c
Message-ID:  <200410091648.i99GmpDq011096@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-10-09 16:48:51 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_output.c 
  Log:
  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).
  
  RELENG_5 candidate.
  
  Revision  Changes    Path
  1.103     +14 -2     src/sys/netinet/tcp_output.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410091648.i99GmpDq011096>