WSL2-Linux-Kernel/net/netlink
Ying Xue c5adde9468 netlink: eliminate nl_sk_hash_lock
As rhashtable_lookup_compare_insert() can guarantee the process
of search and insertion is atomic, it's safe to eliminate the
nl_sk_hash_lock. After this, object insertion or removal will
be protected with per bucket lock on write side while object
lookup is guarded with rcu read lock on read side.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Cc: Thomas Graf <tgraf@suug.ch>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-13 14:01:00 -05:00
..
Kconfig
Makefile
af_netlink.c netlink: eliminate nl_sk_hash_lock 2015-01-13 14:01:00 -05:00
af_netlink.h netlink: eliminate nl_sk_hash_lock 2015-01-13 14:01:00 -05:00
diag.c netlink: eliminate nl_sk_hash_lock 2015-01-13 14:01:00 -05:00
genetlink.c genetlink: A genl_bind() to an out-of-range multicast group should not WARN(). 2014-12-29 16:31:49 -05:00