kernel - Fix TCP MSS calculation
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Oct 2009 22:30:02 +0000 (15:30 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Oct 2009 22:30:02 +0000 (15:30 -0700)
commitb235ad6de5d8382f0b85332f4ea96a08b08e24a8
tree8be56048d680ef7b79c4c21f6cd14f82a6b68552
parent0e8bd897b2ebcf1a575536f3bfdd88fe2377cc27
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.
sys/netinet/tcp_input.c