]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-core-rcuify-rtnl-af_ops'
authorDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2017 20:26:40 +0000 (21:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2017 20:26:40 +0000 (21:26 +0100)
commit1fc2e0d71d76b509944c4bfc7a1d19f99547c5bc
tree83d6e4eee4a33ccd89af13691b484c59489d4f7f
parent603acbef9d6f0a44775ea9aea2e08c5aefb75f7f
parent65bf0e44083a7b20c3939acf1820bb2e0f7ccb81
Merge branch 'net-core-rcuify-rtnl-af_ops'

Florian Westphal says:

====================
net: core: rcuify rtnl af_ops

None of the rtnl af_ops callbacks sleep, so they can be called while
holding rcu read lock.

Switch handling of af_ops to rcu.

This would allow to later call af_ops functions without holding
the rtnl mutex anymore.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>