]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
rtnetlink: protect handler table with rcu
authorFlorian Westphal <fw@strlen.de>
Wed, 9 Aug 2017 18:41:51 +0000 (20:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 23:57:38 +0000 (16:57 -0700)
commit6853dd488119a42d01ad994060dc10b95c687c76
tree66b6d621e0320457f45a1b410d15992c194f909f
parent0cc09020aefe832db23d63cd3a6c889ab7645eec
rtnetlink: protect handler table with rcu

Note that netlink dumps still acquire rtnl mutex via the netlink
dump infrastructure.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c