cvs commit: src/sys/netinet tcp_output.c

Bruce M Simpson bms at FreeBSD.org
Thu Jun 17 20:31:19 PDT 2004


bms         2004-06-18 03:31:07 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_output.c 
  Log:
  If SO_DEBUG is enabled for a TCP socket, and a received segment is
  encapsulated within an IPv6 datagram, do not abuse the 'ipov' pointer
  when registering trace records.  'ipov' is specific to IPv4, and
  will therefore be uninitialized.
  
  [This fandango is only necessary in the first place because of our
  host-byte-order IP field pessimization.]
  
  PR:             kern/60856
  Submitted by:   Galois Zheng
  
  Revision  Changes    Path
  1.93      +11 -2     src/sys/netinet/tcp_output.c


More information about the cvs-src mailing list