aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorFelix Fietkau <[email protected]>2024-04-27 18:24:19 +0000
committerDavid S. Miller <[email protected]>2024-05-01 10:44:10 +0000
commitd091e579b864fa790dd6a0cd537a22c383126681 (patch)
treec0b529ea246bfbd21ecb54334a23d8263e4a25c4 /tools/testing/selftests/net/lib/py/utils.py
parentnet: bridge: fix multicast-to-unicast with fraglist GSO (diff)
downloadkernel-d091e579b864fa790dd6a0cd537a22c383126681.tar.gz
kernel-d091e579b864fa790dd6a0cd537a22c383126681.zip
net: core: reject skb_copy(_expand) for fraglist GSO skbs
SKB_GSO_FRAGLIST skbs must not be linearized, otherwise they become invalid. Return NULL if such an skb is passed to skb_copy or skb_copy_expand, in order to prevent a crash on a potential later call to skb_gso_segment. Fixes: 3a1296a38d0c ("net: Support GRO/GSO fraglist chaining.") Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions