]> 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)
commit2c5ea8785a61d9fb445d7f8107403415d5a25720
tree671cdce9ff92bdd0a99619f995bbcea9124735ad
parent1bfeaf68b78bfb41030fb2f102e59c013aff4bbf
parent5d99e37a865e3935d3bf8dfe49a64f9f1ba2706f
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