diff options
author | Wei Wang <weiwan@google.com> | 2017-10-06 12:06:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-07 21:22:58 +0100 |
commit | 81eb8447daae3b62247aa66bb17b82f8fef68249 (patch) | |
tree | 2f7ea8d21f73d9c303c697eda6d6f0bfad43031a /net/kcm | |
parent | 66f5d6ce53e665477d2a33e8f539d4fa4ca81c83 (diff) | |
download | op-kernel-dev-81eb8447daae3b62247aa66bb17b82f8fef68249.zip op-kernel-dev-81eb8447daae3b62247aa66bb17b82f8fef68249.tar.gz |
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 'net/kcm')
0 files changed, 0 insertions, 0 deletions