aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatt Johnston <[email protected]>2025-03-06 02:32:45 +0000
committerPaolo Abeni <[email protected]>2025-03-11 12:12:19 +0000
commitf5d83cf0eeb90fade4d5c4d17d24b8bee9ceeecc (patch)
tree3179df8aa9ef9dd3f494fed51c55d46ac13f4ba4 /tools/perf/scripts/python
parentnet: switchdev: Convert blocking notification chain to a raw one (diff)
downloadkernel-f5d83cf0eeb90fade4d5c4d17d24b8bee9ceeecc.tar.gz
kernel-f5d83cf0eeb90fade4d5c4d17d24b8bee9ceeecc.zip
net: mctp: unshare packets when reassembling
Ensure that the frag_list used for reassembly isn't shared with other packets. This avoids incorrect reassembly when packets are cloned, and prevents a memory leak due to circular references between fragments and their skb_shared_info. The upcoming MCTP-over-USB driver uses skb_clone which can trigger the problem - other MCTP drivers don't share SKBs. A kunit test is added to reproduce the issue. Signed-off-by: Matt Johnston <[email protected]> Fixes: 4a992bbd3650 ("mctp: Implement message fragmentation & reassembly") Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions