aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/netns.py
diff options
context:
space:
mode:
authorAxel Forsman <[email protected]>2025-05-20 11:43:32 +0000
committerMarc Kleine-Budde <[email protected]>2025-05-20 19:35:39 +0000
commit6d820b81c4dc4a4023e45c3cd6707a07dd838649 (patch)
treed51cef2a5e023ddfdfd2c3b8f54dd4789a96c815 /tools/testing/selftests/net/lib/py/netns.py
parentcan: kvaser_pciefd: Fix echo_skb race (diff)
downloadkernel-6d820b81c4dc4a4023e45c3cd6707a07dd838649.tar.gz
kernel-6d820b81c4dc4a4023e45c3cd6707a07dd838649.zip
can: kvaser_pciefd: Continue parsing DMA buf after dropped RX
Going bus-off on a channel doing RX could result in dropped packets. As netif_running() gets cleared before the channel abort procedure, the handling of any last RDATA packets would see netif_rx() return non-zero to signal a dropped packet. kvaser_pciefd_read_buffer() dealt with this "error" by breaking out of processing the remaining DMA RX buffer. Only return an error from kvaser_pciefd_read_buffer() due to packet corruption, otherwise handle it internally. Cc: [email protected] Signed-off-by: Axel Forsman <[email protected]> Tested-by: Jimmy Assarsson <[email protected]> Reviewed-by: Jimmy Assarsson <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions