Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:
On Thu, 7 Oct 2021 16:00:51 +0200 you wrote:
Due to deadlocks in the networking subsystem spotted 12 years ago[1],
a workaround was put in place[2] to avoid taking the rtnl lock when it
was not available and restarting the syscall (back to VFS, letting
userspace spin). The following construction is found a lot in the net
sysfs and sysctl code:
if (!rtnl_trylock())
return restart_syscall();
[...]
Here is the summary with links:
- [net-next] net-sysfs: try not to restart the syscall if it will fail eventually
https://git.kernel.org/netdev/net-next/c/146e5e733310
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html