linux-stable/net/mctp
Jeremy Kerr e16c33dd99 net: mctp: copy skb ext data when fragmenting
[ Upstream commit 1394c1dec1 ]

If we're fragmenting on local output, the original packet may contain
ext data for the MCTP flows. We'll want this in the resulting fragment
skbs too.

So, do a skb_ext_copy() in the fragmentation path, and implement the
MCTP-specific parts of an ext copy operation.

Fixes: 67737c4572 ("mctp: Pass flow data & flow release events to drivers")
Reported-by: Jian Zhang <zhangjian.3032@bytedance.com>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:20:37 -04:00
..
test Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
Kconfig
Makefile
af_mctp.c net: mctp: purge receive queues on sk destruction 2023-02-06 08:06:34 +01:00
device.c mctp: Remove device type check at unregister 2022-12-31 13:32:56 +01:00
neigh.c
route.c net: mctp: copy skb ext data when fragmenting 2024-03-26 18:20:37 -04:00