diff options
author | 2023-12-04 16:01:48 +0100 | |
---|---|---|
committer | 2023-12-05 19:24:26 -0800 | |
commit | a61f46e1102545cf1fb5f19992288265362cefb0 (patch) | |
tree | 7b00f3ad808a833f69c97698e9e0b479d55a63e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | octeontx2-af: fix a use-after-free in rvu_npa_register_reporters (diff) | |
download | wireguard-linux-a61f46e1102545cf1fb5f19992288265362cefb0.tar.xz wireguard-linux-a61f46e1102545cf1fb5f19992288265362cefb0.zip |
net: veth: fix packet segmentation in veth_convert_skb_to_xdp_buff
Based on the previous allocated packet, page_offset can be not null
in veth_convert_skb_to_xdp_buff routine.
Take into account page fragment offset during the skb paged area copy
in veth_convert_skb_to_xdp_buff().
Fixes: 2d0de67da51a ("net: veth: use newly added page pool API for veth with xdp")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Link: https://lore.kernel.org/r/eddfe549e7e626870071930964ac3c38a1dc8068.1701702000.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions