tcp: drop SYN+FIN messages
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 2 Dec 2011 23:41:42 +0000 (23:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Dec 2011 06:25:19 +0000 (01:25 -0500)
commitfdf5af0daf8019cec2396cdef8fb042d80fe71fa
tree2423b611659756f2b6553b8d1aa2c117b248c884
parent78a8a36fe0b2cee5a0a7360107815cbcad5b4003
tcp: drop SYN+FIN messages

Denys Fedoryshchenko reported that SYN+FIN attacks were bringing his
linux machines to their limits.

Dont call conn_request() if the TCP flags includes SYN flag

Reported-by: Denys Fedoryshchenko <denys@visp.net.lb>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c