]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'tcp-fixes'
authorDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2019 17:39:56 +0000 (10:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2019 17:39:56 +0000 (10:39 -0700)
Eric Dumazet says:

====================
tcp: make sack processing more robust

Jonathan Looney brought to our attention multiple problems
in TCP stack at the sender side.

SACK processing can be abused by malicious peers to either
cause overflows, or increase of memory usage.

First two patches fix the immediate problems.

Since the malicious peers abuse senders by advertizing a very
small MSS in their SYN or SYNACK packet, the last two
patches add a new sysctl so that admins can chose a higher
limit for MSS clamping.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c

Simple merge
diff --cc net/ipv4/tcp.c
Simple merge