diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-08-22 12:58:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-22 21:42:07 -0700 |
commit | e500c6d349f7f36120886841c6f057ce248b48b2 (patch) | |
tree | 1df21d8dad79ab78420f7d22f96efe750bd30559 /net/ipv4 | |
parent | 191672ca07a7c10c3b84d01019a33d59b4317997 (diff) |
addrconf: reduce unnecessary atomic allocations
All the 3 callers of addrconf_add_mroute() assert RTNL
lock, they don't take any additional lock either, so
it is safe to convert it to GFP_KERNEL.
Same for sit_add_v4_addrs().
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions