aboutsummaryrefslogtreecommitdiff
path: root/net/core/sysctl_net_core.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2024-05-01 15:30:22 -0400
committerJakub Kicinski <kuba@kernel.org>2024-05-02 18:37:47 -0700
commitec6f25bc8aba2539a95be74b2a38f6a9cc13245f (patch)
tree7ce115e1bfd70d23ee05be1ac252a43e3908a133 /net/core/sysctl_net_core.c
parente1bb5e65de8355ee76f51c6bfee2328ac5b2be15 (diff)
selftests/net: skip partial checksum packets in csum test
Detect packets with ip_summed CHECKSUM_PARTIAL and skip these. These should not exist, as the test sends individual packets between two hosts. But if (HW) GRO is on, with randomized content sometimes subsequent packets can be coalesced. In this case the GSO packet checksum is converted to a pseudo checksum in anticipation of sending out as TSO/USO. So the field will not match the expected value. Do not count these as test errors. Signed-off-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20240501193156.3627344-1-willemdebruijn.kernel@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sysctl_net_core.c')
0 files changed, 0 insertions, 0 deletions