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 ++++++++++++++++++++++++++++++++++++-------------------
 ipv4/devinet.c   |    4 -
 2 files changed, 90 insertions(+), 48 deletions(-)

Reply via email to