git: kernel - Fix TCP MSS calculation

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 8 15:34:39 PDT 2009


commit b235ad6de5d8382f0b85332f4ea96a08b08e24a8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Oct 8 15:30:02 2009 -0700

    kernel - Fix TCP MSS calculation
    
    * When the default MSS was returned to 512 in commit bf18b4 it revealed
      a bug in the tcp_mss() function which caused DragonFly senders to
      always use a mss of 500 when sending data to non-local targets.
    
      Fix the negotiation to use the offered MSS for non-local targets.

Summary of changes:
 sys/netinet/tcp_input.c |   64 ++++++++++++++++++++++++++++------------------
 1 files changed, 39 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b235ad6de5d8382f0b85332f4ea96a08b08e24a8


-- 
DragonFly BSD source repository





More information about the Commits mailing list