cvs commit: src/sys/netinet tcp_debug.c tcp_var.h

Robert Watson rwatson at FreeBSD.org
Fri May 4 23:43:19 UTC 2007


rwatson     2007-05-04 23:43:19 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_debug.c tcp_var.h 
  Log:
  Add global mutex tcp_debug_mtx, which will protect global TCP debugging
  state tcp_debug, tcp_debx.  Acquire and drop as required in tcp_trace().
  
  Move to ANSI C function header, correct prototype types so that short TCP
  state is no longer promoted to int unnecessarily.
  
  Add comments.
  
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.27      +31 -12    src/sys/netinet/tcp_debug.c
  1.145     +1 -1      src/sys/netinet/tcp_var.h


More information about the cvs-src mailing list