commit | ba9e04a7ddf4f22a10e05bf9403db6b97743c7bf | [log] [tgz] |
---|---|---|
author | Wei Wang <weiwan@google.com> | Tue Sep 08 14:09:34 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 08 20:19:08 2020 -0700 |
tree | 0e7f207c221c9dbd0e97050cffc3238f89905122 | |
parent | 6fd40d32ef545628225a00c861908a20bfc510a5 [diff] |
ip: fix tos reflection in ack and reset packets 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>