On 4/22/19 7:35 PM, Eric Dumazet wrote: > 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 <eduma...@google.com> > Cc: Wei Wang <wei...@google.com> > --- > net/ipv6/ip6_fib.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) >
Reviewed-by: David Ahern <dsah...@gmail.com>