diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-26 07:02:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-29 09:58:58 +0100 |
commit | 61f5338d62673379ff2ce5a8c05682658a196980 (patch) | |
tree | 96238d28a64fa18525cb222932baf4af21803100 /.clang-format | |
parent | cd42ba1c8ac9deb9032add6adf491110e7442040 (diff) |
inet: use call_rcu_hurry() in inet_free_ifa()
This is a followup of commit c4e86b4363ac ("net: add two more
call_rcu_hurry()")
Our reference to ifa->ifa_dev must be freed ASAP
to release the reference to the netdev the same way.
inet_rcu_free_ifa()
in_dev_put()
-> in_dev_finish_destroy()
-> netdev_put()
This should speedup device/netns dismantles when CONFIG_RCU_LAZY=y
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions