Skip to content

preserve MSG_ZEROCOPY with forwarding

Willem de Bruijn netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: preserve MSG_ZEROCOPY with forwardingnet/core/dev.c net/ipv4/ip_input.c net/ipv6/ip6_input.c+13 -20 repliesApplied
2/2selftest: net: extend msg_zerocopy test with forwardingtools/testing/selftests/net/msg_zerocopy.c tools/testing/selftests/net/msg_zerocopy.sh+77 -310 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] preserve MSG_ZEROCOPY with forwarding

From: Willem de Bruijn <[email protected]>

Avoid false positive copying of zerocopy skb frags when entering the ingress path if the skb is not queued locally but forwarded.

Patch 1 for more details and feature.

Patch 2 converts the existing selftest to a pass/fail test and adds
coverage for this new feature.

Willem de Bruijn (2):
net: preserve MSG_ZEROCOPY with forwarding
selftest: net: extend msg_zerocopy test with forwarding

 net/core/dev.c                              |  2 -
 net/ipv4/ip_input.c                         |  6 ++
 net/ipv6/ip6_input.c                        |  7 ++
 tools/testing/selftests/net/msg_zerocopy.c  | 24 +++---
 tools/testing/selftests/net/msg_zerocopy.sh | 84 +++++++++++++++------
 5 files changed, 90 insertions(+), 33 deletions(-)
Signature · 1 line
2.50.0.727.gbf7dc18ff4-goog