diff options
author | Wei Wang <weiwan@google.com> | 2020-09-09 00:09:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 14:12:24 +0300 |
commit | 0339397d965d4fc45879236b43c9f49bfa4d8d4b (patch) | |
tree | 4850f38ecbbe7f08222d2741d3531e1f9f6e03a8 /mm | |
parent | 8f0addb36dd1c61fe0f1a458a48b1a5ddc96aa24 (diff) | |
download | linux-0339397d965d4fc45879236b43c9f49bfa4d8d4b.tar.xz |
ip: fix tos reflection in ack and reset packets
[ Upstream commit ba9e04a7ddf4f22a10e05bf9403db6b97743c7bf ]
Currently, in tcp_v4_reqsk_send_ack() and tcp_v4_send_reset(), we
echo the TOS value of the received packets in the response.
However, we do not want to echo the lower 2 ECN bits in accordance
with RFC 3168 6.1.5 robustness principles.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions