summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2025-03-06 05:33:20 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-08 06:45:03 +0300
commitdf8ce77ba8b7c012a3edd1ca7368b46831341466 (patch)
treed21f82d46be8cf4300a2275cd07530f0a85e1d8d /net/switchdev/switchdev.c
parent26db9c9ee19c36a97dbb1cfef007a3c189c4c874 (diff)
downloadlinux-df8ce77ba8b7c012a3edd1ca7368b46831341466.tar.xz
net: mctp i2c: 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: f5b8abf9fc3d ("mctp i2c: MCTP I2C binding driver") Link: https://patch.msgid.link/20250306-matt-mctp-i2c-cow-v1-1-293827212681@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