aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2024-09-10 10:31:44 -0400
committerJakub Kicinski <[email protected]>2024-09-11 16:01:25 -0700
commitcbd7ec083413c6a2e0c326d49e24ec7d12c7a9e0 (patch)
tree5f80b68e9558f1f4c0e175f02d611ad312318fbb /tools/testing/selftests/bpf/prog_tests/autoload.c
parentb4cd80b0338945a94972ac3ed54f8338d2da2076 (diff)
net: dpaa: Pad packets to ETH_ZLEN
When sending packets under 60 bytes, up to three bytes of the buffer following the data may be leaked. Avoid this by extending all packets to ETH_ZLEN, ensuring nothing is leaked in the padding. This bug can be reproduced by running $ ping -s 11 destination Fixes: 9ad1a3749333 ("dpaa_eth: add support for DPAA Ethernet") Suggested-by: Eric Dumazet <[email protected]> Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions