Florian Westphal 5fa85a0939 net: core: rcu-ify rtnl af_ops
rtnl af_ops currently rely on rtnl mutex: unregister (called from module
exit functions) takes the rtnl mutex and all users that do af_ops lookup
also take the rtnl mutex. IOW, parallel rmmod will block until doit()
callback is done.

As none of the af_ops implementation sleep we can use rcu instead.

doit functions that need the af_ops can now use rcu instead of the
rtnl mutex provided the mutex isn't needed for other reasons.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-16 21:26:40 +01:00
..
2017-10-16 21:26:40 +01:00
2017-09-19 16:32:24 -07:00
2017-06-15 12:12:40 -04:00
2017-10-16 21:24:25 +01:00
2017-09-19 16:32:23 -07:00
2017-02-15 11:04:11 +01:00
2017-01-10 10:57:12 +01:00