cvs commit: src/sys/netinet tcp_input.c tcp_subr.c tcp_var.h

Bjoern A. Zeeb bz at FreeBSD.org
Sun Sep 7 18:50:35 UTC 2008


bz          2008-09-07 18:50:25 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_input.c tcp_subr.c tcp_var.h 
  Log:
  SVN rev 182851 on 2008-09-07 18:50:25Z by bz
  
  Split tcp_mss() in tcp_mss() and tcp_mss_update() where the former
  calls the latter.
  
  Merge tcp_mss_update() with code from tcp_mtudisc() basically
  doing the same thing.
  
  This gives us one central place where we calcuate and check mss values
  to update t_maxopd (maximum mss + options length) instead of two slightly
  different but almost equal implementations to maintain.
  
  PR:             kern/118455
  Reviewed by:    silby (back in March)
  MFC after:      2 months
  
  Revision  Changes    Path
  1.380     +56 -15    src/sys/netinet/tcp_input.c
  1.314     +9 -73     src/sys/netinet/tcp_subr.c
  1.164     +1 -0      src/sys/netinet/tcp_var.h


More information about the cvs-src mailing list