diff options
| author | Jeremy Kerr <[email protected]> | 2025-08-29 07:28:26 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-09-02 12:45:51 +0000 |
| commit | 773b27a8a2f00ce3134e92e50ea4794a98ba2b76 (patch) | |
| tree | 4ddf11a23fb1e2bc92de2ce7b2090461364a8b01 /drivers/net/mctp/mctp-usb.c | |
| parent | net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync() (diff) | |
| download | kernel-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
