linux/tools/testing/selftests/drivers/net/netdevsim
Jakub Kicinski d3c1025ed7 net: netdevsim: try to close UDP port harness races
[ Upstream commit 50bf398e1c ]

syzbot discovered that we remove the debugfs files after we free
the netdev. Try to clean up the relevant dir while the device
is still around.

Reported-by: syzbot+2e5de9e3ab986b71d2bf@syzkaller.appspotmail.com
Fixes: 424be63ad8 ("netdevsim: add UDP tunnel port offload support")
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/20250122224503.762705-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-21 13:49:22 +01:00
..
devlink.sh sefltests: netdevsim: wait for devlink instance after netns removal 2023-03-10 09:33:08 +01:00
devlink_in_netns.sh selftests: test creating netdevsim inside network namespace 2019-10-05 16:34:15 -07:00
devlink_trap.sh testing: selftests: drivers: net: netdevsim: devlink: add test case for hard drop statistics 2021-06-14 13:04:25 -07:00
ethtool-coalesce.sh selftests: add ring and coalesce selftests 2020-11-20 12:51:54 -08:00
ethtool-common.sh selftests: net: test ethtool -L vs mq 2021-09-15 15:46:02 +01:00
ethtool-fec.sh selftests: ethtool: add a netdevsim FEC test 2021-03-31 14:15:23 -07:00
ethtool-pause.sh selftests: extract common functions in ethtool-common.sh 2020-11-20 12:51:54 -08:00
ethtool-ring.sh selftests: add ring and coalesce selftests 2020-11-20 12:51:54 -08:00
fib.sh selftests: netdevsim: Add test cases for route deletion failure 2022-07-29 12:21:02 +01:00
fib_notifications.sh selftests: netdevsim: Test route offload failure notifications 2021-02-08 16:47:03 -08:00
hw_stats_l3.sh selftests: netdevsim: Increase sleep time in hw_stats_l3.sh test 2022-05-18 14:06:50 +01:00
nexthop.sh selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV 2021-06-08 14:39:07 -07:00
psample.sh selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV 2021-06-08 14:39:07 -07:00
tc-mq-visibility.sh selftests: net: test ethtool -L vs mq 2021-09-15 15:46:02 +01:00
udp_tunnel_nic.sh net: netdevsim: try to close UDP port harness races 2025-02-21 13:49:22 +01:00