aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mctp/mctp-usb.c
diff options
context:
space:
mode:
authorJeremy Kerr <[email protected]>2025-08-29 07:28:26 +0000
committerPaolo Abeni <[email protected]>2025-09-02 12:45:51 +0000
commit773b27a8a2f00ce3134e92e50ea4794a98ba2b76 (patch)
tree4ddf11a23fb1e2bc92de2ce7b2090461364a8b01 /drivers/net/mctp/mctp-usb.c
parentnet/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync() (diff)
downloadkernel-773b27a8a2f00ce3134e92e50ea4794a98ba2b76.tar.gz
kernel-773b27a8a2f00ce3134e92e50ea4794a98ba2b76.zip
net: mctp: mctp_fraq_queue should take ownership of passed skb
As of commit f5d83cf0eeb9 ("net: mctp: unshare packets when reassembling"), we skb_unshare() in mctp_frag_queue(). The unshare may invalidate the original skb pointer, so we need to treat the skb as entirely owned by the fraq queue, even on failure. Fixes: f5d83cf0eeb9 ("net: mctp: unshare packets when reassembling") Signed-off-by: Jeremy Kerr <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/mctp/mctp-usb.c')
0 files changed, 0 insertions, 0 deletions