summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMark Amirkan <markdamirkan@gmail.com>2026-09-13 10:28:08 +0000
committerJakub Kicinski <kuba@kernel.org>2026-09-16 17:27:35 -0700
commit33ff111d7ba3beb86e28938d6382bb5beabd865a (patch)
tree342556a876bed47596f98fbf9ee0a4ec3045a2ca /tools/perf/scripts/python/stackcollapse.py
parenta9ce4053dc945c5372dedba5017ee675b30dc0c5 (diff)
downloadlinux-next-33ff111d7ba3beb86e28938d6382bb5beabd865a.tar.gz
linux-next-33ff111d7ba3beb86e28938d6382bb5beabd865a.zip
net/packet: clear RX owner on VNET header error
Commit 61fad6816fc1 ("net/packet: tpacket_rcv: avoid a producer race condition") added rx_owner_map and made tpacket_rcv() claim a V1 or V2 ring slot before converting the virtio-net header. If the conversion fails, the drop path leaves the slot claimed. With a one-frame TPACKET_V2 ring, an unsupported UDP GSO packet leaves the only slot unavailable, so the ring also drops the next valid packet. Clear the ownership bit on this error path. TPACKET_V3 already clears its block state here. Fixes: 61fad6816fc1 ("net/packet: tpacket_rcv: avoid a producer race condition") Cc: stable@vger.kernel.org Signed-off-by: Mark Amirkan <markdamirkan@gmail.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20260913-b4-send-packet-vnet-v1-1-5545ffb528ae@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions