aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorEsben Haabendal <[email protected]>2021-06-18 10:52:23 +0000
committerDavid S. Miller <[email protected]>2021-06-18 19:11:51 +0000
commit6aa32217a9a446275440ee8724b1ecaf1838df47 (patch)
treea73911fda2e5ef338a8ec176f92b953aeededd6d /tools/perf/scripts/python/event_analyzing_sample.py
parentMAINTAINERS: add Guvenc as SMC maintainer (diff)
downloadkernel-6aa32217a9a446275440ee8724b1ecaf1838df47.tar.gz
kernel-6aa32217a9a446275440ee8724b1ecaf1838df47.zip
net: ll_temac: Make sure to free skb when it is completely used
With the skb pointer piggy-backed on the TX BD, we have a simple and efficient way to free the skb buffer when the frame has been transmitted. But in order to avoid freeing the skb while there are still fragments from the skb in use, we need to piggy-back on the TX BD of the skb, not the first. Without this, we are doing use-after-free on the DMA side, when the first BD of a multi TX BD packet is seen as completed in xmit_done, and the remaining BDs are still being processed. Cc: [email protected] # v5.4+ Signed-off-by: Esben Haabendal <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions