diff options
author | Wei Wang <weiwan@google.com> | 2017-10-06 21:06:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-07 22:22:58 +0200 |
commit | 81eb8447daae3b62247aa66bb17b82f8fef68249 (patch) | |
tree | 2f7ea8d21f73d9c303c697eda6d6f0bfad43031a /Documentation/iio | |
parent | ipv6: replace rwlock with rcu and spinlock in fib6_table (diff) | |
download | linux-81eb8447daae3b62247aa66bb17b82f8fef68249.tar.xz linux-81eb8447daae3b62247aa66bb17b82f8fef68249.zip |
ipv6: take care of rt6_stats
Currently, most of the rt6_stats are not hooked up correctly. As the
last part of this patch series, hook up all existing rt6_stats and add
one new stat fib_rt_uncache to indicate the number of routes in the
uncached list.
For details of the stats, please refer to the comments added in
include/net/ip6_fib.h.
Note: fib_rt_alloc and fib_rt_uncache are not guaranteed to be modified
under a lock. So atomic_t is used for them.
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/iio')
0 files changed, 0 insertions, 0 deletions