Skip to content
Snippets Groups Projects
Commit 0ccb89a6 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by Frieder Schrempf
Browse files

net: netdevsim: try to close UDP port harness races


[ Upstream commit 50bf398e1ceacb9a7f85bd3bdca065ebe5cb6159 ]

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: default avatar <syzbot+2e5de9e3ab986b71d2bf@syzkaller.appspotmail.com>
Fixes: 424be63a ("netdevsim: add UDP tunnel port offload support")
Reviewed-by: default avatarMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/20250122224503.762705-1-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b74d1803
No related branches found
No related tags found
1 merge request!191🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.129)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment