summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2025-03-06 13:24:18 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-08 06:41:10 +0300
commit26db9c9ee19c36a97dbb1cfef007a3c189c4c874 (patch)
tree9bb7f155fb6bab11cea31c6c9237b1adc4bfd2f4 /net/switchdev/switchdev.c
parentdc5340c3133a3ebe54853fd299116149e528cfaa (diff)
downloadlinux-26db9c9ee19c36a97dbb1cfef007a3c189c4c874.tar.xz
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: Matt Johnston <matt@codeconstruct.com.au> Fixes: c8755b29b58e ("mctp i3c: MCTP I3C driver") Link: https://patch.msgid.link/20250306-matt-i3c-cow-head-v1-1-d5e6a5495227@codeconstruct.com.au Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions