Skip to content

ipv6: addrconf: make two more doit functions not use rtnl mutex

Florian Westphal netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ipv6: addrconf: don't use rtnl mutex in RTM_GETNETCONFnet/ipv6/addrconf.c+14 -101 reply
2/2ipv6: addrconf: don't use rtnl mutex in RTM_GETADDRnet/ipv6/addrconf.c+7 -71 reply

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] ipv6: addrconf: make two more doit functions not use rtnl mutex

ipv6 RTM_GETNETCONF and RTM_GETADDR don't seem to require strict serialization via rtnl mutex, so switch both to DOIT_UNLOCKED and increment device reference counts instead.

Alternative would be to use rcu which would need some minor code re-arrangements (we can't use GFP_ATOMIC for buffer allocation in that case).

 addrconf.c |   38 +++++++++++++++++++++-----------------
 1 file changed, 21 insertions(+), 17 deletions(-)