]> git.baikalelectronics.ru Git - 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)
commitb5dfd909cc1c97503687cadc5345fd5748a56d64
tree66b6d621e0320457f45a1b410d15992c194f909f
parent41c54d560a960553df8b7490130ef10a99041b09
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