Re: [PATCH net-next 0/2] net: core: rcuify rtnl af_ops

2017-10-16 Thread David Miller
From: Florian Westphal Date: Mon, 16 Oct 2017 15:44:34 +0200 > 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. Serie

[PATCH net-next 0/2] net: core: rcuify rtnl af_ops

2017-10-16 Thread Florian Westphal
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. core/rtnetlink.c | 134 ---