-
Notifications
You must be signed in to change notification settings - Fork 55.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netlink: Re-add locking to netlink_lookup() and seq walker
The synchronize_rcu() in netlink_release() introduces unacceptable latency. Reintroduce minimal lookup so we can drop the synchronize_rcu() until socket destruction has been RCUfied. Cc: David S. Miller <[email protected]> Cc: Eric Dumazet <[email protected]> Reported-by: Steinar H. Gunderson <[email protected]> Reported-and-tested-by: Heiko Carstens <[email protected]> Signed-off-by: Thomas Graf <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
1 changed file
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters