summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-10-22 00:05:38 +0400
committerDavid S. Miller <davem@davemloft.net>2014-10-22 05:34:49 +0400
commit78fd1d0ab072d4d9b5f0b7c14a1516665170b565 (patch)
treeb71cfdca2eb841bd75355f6d8e29c53739a50ee3 /samples
parent1a194c2d59c55c37cb4c0c459d5418071a141341 (diff)
downloadlinux-78fd1d0ab072d4d9b5f0b7c14a1516665170b565.tar.xz
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 <davem@davemloft.net> Cc: Eric Dumazet <eric.dumazet@gmail.com> Reported-by: Steinar H. Gunderson <sgunderson@bigfoot.com> Reported-and-tested-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions