Skip to content

net: core: rcuify rtnl af_ops

Florian Westphal netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rtnetlink: place link af dump into own helpernet/core/rtnetlink.c+42 -300 replies
2/2net: core: rcu-ify rtnl af_opsnet/core/rtnetlink.c net/ipv4/devinet.c+48 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] 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.

 core/rtnetlink.c |  134 ++++++++++++++++++++++++++++++++++++-------------------
 ipv4/devinet.c   |    4 -
 2 files changed, 90 insertions(+), 48 deletions(-)