summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2025-06-30 15:42:11 -0400
committerJakub Kicinski <kuba@kernel.org>2025-07-02 15:07:16 -0700
commitd2527ad3a9e1f3031095d65376a94a8e640b2b74 (patch)
tree3d06f71669aa0782dd6864a351ac90d985a836a0 /scripts/lib/kdoc/kdoc_re.py
parent04b1d18c5bae0e3c40207953658b1f62182d4829 (diff)
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 <willemb@google.com> Link: https://patch.msgid.link/20250630194312.1571410-2-willemdebruijn.kernel@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions