Skip to content
Commit 26db9c9e authored by Matt Johnston's avatar Matt Johnston Committed by Jakub Kicinski
Browse files

net: mctp i3c: Copy headers if cloned



Use skb_cow_head() prior to modifying the tx skb. This is necessary
when the skb has been cloned, to avoid modifying other shared clones.

Signed-off-by: default avatarMatt Johnston <matt@codeconstruct.com.au>
Fixes: c8755b29 ("mctp i3c: MCTP I3C driver")
Link: https://patch.msgid.link/20250306-matt-i3c-cow-head-v1-1-d5e6a5495227@codeconstruct.com.au


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent dc5340c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment