ipv6: addrconf: make two more doit functions not use rtnl mutex
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipv6: addrconf: don't use rtnl mutex in RTM_GETNETCONFnet/ | +14 | 1 reply | |
| 2/2 | ipv6: addrconf: don't use rtnl mutex in RTM_GETADDRnet/ | +7 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)