diff options
author | Eric Dumazet <edumazet@google.com> | 2019-04-23 04:35:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-24 03:19:48 +0300 |
commit | 5ea715289af6e7d0459c8f279c70557a9ee4f322 (patch) | |
tree | e2c3c14702735b438d128f3010d74836b94465fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b0270550229b3efeadfcac1cf04415dfea27915e (diff) | |
download | linux-5ea715289af6e7d0459c8f279c70557a9ee4f322.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions