diff options
author | Sean Anderson <sean.anderson@linux.dev> | 2024-09-10 10:31:44 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-11 16:01:25 -0700 |
commit | cbd7ec083413c6a2e0c326d49e24ec7d12c7a9e0 (patch) | |
tree | 5f80b68e9558f1f4c0e175f02d611ad312318fbb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b4cd80b0338945a94972ac3ed54f8338d2da2076 (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 <edumazet@google.com>
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240910143144.1439910-1-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions