Reduce MAXMSS limit by 12 bytes to allow for rfc 1323.
PR: 32717 Submitted by: MORI Kouji <moriko@hh.iij4u.or.jp> MFC after: 2 weeks
This commit is contained in:
parent
a0ed72dc48
commit
d593906199
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131265
@ -70,7 +70,7 @@
|
||||
* We are in a liberal position about MSS
|
||||
* (RFC 879, section 7).
|
||||
*/
|
||||
#define MAXMSS(mtu) (mtu - sizeof(struct ip) - sizeof(struct tcphdr))
|
||||
#define MAXMSS(mtu) ((mtu) - sizeof(struct ip) - sizeof(struct tcphdr) - 12)
|
||||
|
||||
|
||||
/*-
|
||||
|
Loading…
Reference in New Issue
Block a user