Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 22:26:28 -0700 (PDT)
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_input.c tcp_subr.c tcp_var.h
Message-ID:  <200305070526.h475QSmB092333@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2003/05/06 22:26:28 PDT

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_input.c tcp_subr.c tcp_var.h 
  Log:
  Correct a bug introduced with reduced TCP state handling; make
  sure that the MAC label on TCP responses during TIMEWAIT is
  properly set from either the socket (if available), or the mbuf
  that it's responding to.
  
  Unfortunately, this is made somewhat difficult by the TCP code,
  as tcp_twstart() calls tcp_twrespond() after discarding the socket
  but without a reference to the mbuf that causes the "response".
  Passing both the socket and the mbuf works arounds this--eventually
  it might be good to make sure the mbuf always gets passed in in
  "response" scenarios but working through this provided to
  complicate things too much.
  
  Approved by:    re (scottl)
  Reviewed by:    hsu
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, Network Associates Laboratories
  
  Revision  Changes    Path
  1.205     +1 -1      src/sys/netinet/tcp_input.c
  1.160     +18 -3     src/sys/netinet/tcp_subr.c
  1.89      +1 -1      src/sys/netinet/tcp_var.h



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