• David S. Miller's avatar
    Merge branch 'tcp-fixes' · 4fddbf8a
    David S. Miller authored
    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: default avatarDavid S. Miller <davem@davemloft.net>
    4fddbf8a
sysctl_net_ipv4.c 33 KB