net: core: rcuify rtnl af_ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rtnetlink: place link af dump into own helpernet/ | +42 | 0 replies | |
| 2/2 | net: core: rcu-ify rtnl af_opsnet/ net/ | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)