]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gro: prevent ACE field corruption & better AccECN handling
authorIlpo Järvinen <ij@kernel.org>
Wed, 5 Mar 2025 22:38:49 +0000 (23:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Mar 2025 13:55:11 +0000 (13:55 +0000)
commit4e4f7cefb130af6aba6a393b2d13930b49390df9
tree471a855210fea509b8d0c02f10dc029f9b00421a
parent023af5a72ab161f2e661afb53e3b6a6901f6ba00
gro: prevent ACE field corruption & better AccECN handling

There are important differences in how the CWR field behaves
in RFC3168 and AccECN. With AccECN, CWR flag is part of the
ACE counter and its changes are important so adjust the flags
changed mask accordingly.

Also, if CWR is there, set the Accurate ECN GSO flag to avoid
corrupting CWR flag somewhere.

Signed-off-by: Ilpo Järvinen <ij@kernel.org>
Signed-off-by: Chia-Yu Chang <chia-yu.chang@nokia-bell-labs.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_offload.c