diff options
author | Eric Dumazet | 2016-02-03 04:31:12 +0100 |
---|---|---|
committer | David S. Miller | 2016-02-09 10:15:37 +0100 |
commit | 9cf7490360bf2c46a16b7525f899e4970c5fc144 (patch) | |
tree | 62252375fcdc3d7ce324054262ea30015d3227b5 /net/ipv4/tcp.c | |
parent | ipv6: fix a lockdep splat (diff) | |
download | kernel-qcow2-linux-9cf7490360bf2c46a16b7525f899e4970c5fc144.tar.gz kernel-qcow2-linux-9cf7490360bf2c46a16b7525f899e4970c5fc144.tar.xz kernel-qcow2-linux-9cf7490360bf2c46a16b7525f899e4970c5fc144.zip |
tcp: do not drop syn_recv on all icmp reports
Petr Novopashenniy reported that ICMP redirects on SYN_RECV sockets
were leading to RST.
This is of course incorrect.
A specific list of ICMP messages should be able to drop a SYN_RECV.
For instance, a REDIRECT on SYN_RECV shall be ignored, as we do
not hold a dst per SYN_RECV pseudo request.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=111751
Fixes: 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table")
Reported-by: Petr Novopashenniy <pety@rusnet.ru>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions