[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163370340821.9336.11969277633454623458.git-patchwork-notify@kernel.org>
Date: Fri, 08 Oct 2021 14:30:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Antoine Tenart <atenart@...nel.org>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
juri.lelli@...hat.com, mhocko@...e.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net-sysfs: try not to restart the syscall if it will
fail eventually
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.net>:
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
Powered by blists - more mailing lists