SVNews r324520

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-11 06:28:46 - r324520 by sephe (Sepherosa Ziehau)

Complete list of files affected by revision r324520:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/10  
  History   Contents   Diff   MODIFY   /stable/10/sys/netinet/tcp_syncache.c  

Commit message:

MFC 324050

  tcp: Don't "negotiate" MSS.

  _NO_ OSes actually "negotiate" MSS.

  RFC 879:
  "... This Maximum Segment Size (MSS) announcement (often mistakenly
  called a negotiation) ..."

  This negotiation behaviour was introduced 11 years ago by r159955
  without any explaination about why FreeBSD had to "negotiate" MSS:

  In syncache_respond() do not reply with a MSS that is larger than what
  the peer announced to us but make it at least tcp_minmss in size.

  Sponsored by: TCP/IP Optimization Fundraise 2005

  The tcp_minmss behaviour is still kept.

  Syncookie fix was prodded by tuexen, who also helped to test this
  patch w/ packetdrill.

  Reviewed by: tuexen, karels, bz (previous version)
  Sponsored by: Microsoft
  Differential Revision: https://reviews.freebsd.org/D12430

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 8 ms, 2 files printed. Current time is 2017-10-22 01:11:14. All times are in UTC/GMT.