aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2025-06-30 19:42:11 +0000
committerJakub Kicinski <[email protected]>2025-07-02 22:07:16 +0000
commitd2527ad3a9e1f3031095d65376a94a8e640b2b74 (patch)
tree3d06f71669aa0782dd6864a351ac90d985a836a0 /tools/testing/selftests/net/lib/py/utils.py
parentMerge branch 'vsock-test-check-for-null-ptr-deref-when-transport-changes' (diff)
downloadkernel-d2527ad3a9e1f3031095d65376a94a8e640b2b74.tar.gz
kernel-d2527ad3a9e1f3031095d65376a94a8e640b2b74.zip
net: preserve MSG_ZEROCOPY with forwarding
MSG_ZEROCOPY data must be copied before data is queued to local sockets, to avoid indefinite timeout until memory release. This test is performed by skb_orphan_frags_rx, which is called when looping an egress skb to packet sockets, error queue or ingress path. To preserve zerocopy for skbs that are looped to ingress but are then forwarded to an egress device rather than delivered locally, defer this last check until an skb enters the local IP receive path. This is analogous to existing behavior of skb_clear_delivery_time. Signed-off-by: Willem de Bruijn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions