diff options
author | Wei Wang <weiwan@google.com> | 2020-09-08 14:09:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-26 18:01:29 +0200 |
commit | 2fc322bf67594e240eb23b4e0c6c8a09c69f9918 (patch) | |
tree | e5aea7db16066ecba5d482d30095578eb94096f6 /Documentation | |
parent | 45676c0bc28eff8f46455b28e2db80a77676488b (diff) | |
download | linux-stable-2fc322bf67594e240eb23b4e0c6c8a09c69f9918.tar.gz linux-stable-2fc322bf67594e240eb23b4e0c6c8a09c69f9918.tar.bz2 linux-stable-2fc322bf67594e240eb23b4e0c6c8a09c69f9918.zip |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions