]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a69e693adb896960664547608e973335e5a29fe
tree671cdce9ff92bdd0a99619f995bbcea9124735ad
parent5acb3fba0286539b51b14444a5c41c33688be719
parent2b40876d7662546ee161be814ffa487e6a084122
Merge branch 'tcp-fixes'

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>
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c