aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/ynl.py
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2025-01-13 16:30:00 +0000
committerJakub Kicinski <[email protected]>2025-01-15 01:30:30 +0000
commitc17ff476f53afb30f90bb3c2af77de069c81a622 (patch)
treee04c3267bc5492b2a72e43c5e9be66dfd7a9de9d /tools/testing/selftests/net/lib/py/ynl.py
parentnfp: bpf: prevent integer overflow in nfp_bpf_event_output() (diff)
downloadkernel-c17ff476f53afb30f90bb3c2af77de069c81a622.tar.gz
kernel-c17ff476f53afb30f90bb3c2af77de069c81a622.zip
net: xilinx: axienet: Fix IRQ coalescing packet count overflow
If coalesce_count is greater than 255 it will not fit in the register and will overflow. This can be reproduced by running # ethtool -C ethX rx-frames 256 which will result in a timeout of 0us instead. Fix this by checking for invalid values and reporting an error. Fixes: 8a3b7a252dca ("drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver") Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Shannon Nelson <[email protected]> Reviewed-by: Radhey Shyam Pandey <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/ynl.py')
0 files changed, 0 insertions, 0 deletions