Eric Dumazet 5ea715289a ipv6: broadly use fib6_info_hold() helper
Instead of using atomic_inc(), prefer fib6_info_hold()
so that upcoming refcount_t conversion is simpler.

Only fib6_info_alloc() is using atomic_set() since we
just allocated a new object.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Wei Wang <weiwan@google.com>
Acked-by: Wei Wang <weiwan@google.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-23 17:19:48 -07:00
..
2019-04-19 14:07:40 -07:00
2019-04-21 10:37:26 -07:00
2019-04-10 12:20:46 -07:00
2019-04-19 14:07:40 -07:00
2018-11-10 16:55:11 -08:00
2019-04-22 21:47:25 -07:00
2019-02-21 16:23:56 -08:00
2019-04-19 14:07:40 -07:00
2019-04-19 14:07:40 -07:00