summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHuanhuan Wang <huanhuan.wang@corigine.com>2023-03-02 12:58:28 +0300
committerDavid S. Miller <davem@davemloft.net>2023-03-03 11:28:44 +0300
commit3e04419cbe2d0bc10ffc20c006c6513ffa4b1ca3 (patch)
tree4c7f009ae404c292de52bd2b93bc6d1e465b3b96 /Documentation
parent84cba1840e68430325ac133a11be06bfb2f7acd8 (diff)
downloadlinux-3e04419cbe2d0bc10ffc20c006c6513ffa4b1ca3.tar.xz
nfp: fix incorrectly set csum flag for nfd3 path
The csum flag of IPsec packet are set repeatedly. Therefore, the csum flag set of IPsec and non-IPsec packet need to be distinguished. As the ipv6 header does not have a csum field, so l3-csum flag is not required to be set for ipv6 case. L4-csum flag include the tcp csum flag and udp csum flag, we shouldn't set the udp and tcp csum flag at the same time for one packet, should set l4-csum flag according to the transport layer is tcp or udp. Fixes: 57f273adbcd4 ("nfp: add framework to support ipsec offloading") Signed-off-by: Huanhuan Wang <huanhuan.wang@corigine.com> Reviewed-by: Louis Peens <louis.peens@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions