commit | e500c6d349f7f36120886841c6f057ce248b48b2 | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Wed Aug 22 12:58:34 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 22 21:42:07 2018 -0700 |
tree | 1df21d8dad79ab78420f7d22f96efe750bd30559 | |
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>