diff options
author | Florian Westphal <fw@strlen.de> | 2014-07-24 16:50:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-27 22:34:36 -0700 |
commit | 434d305405ab86414f6ea3f261307d443a2c3506 (patch) | |
tree | 4637301f47599b6a4bac0c63d3d5df8cebc57f89 /include/net/ipv6.h | |
parent | b13d3cbfb8e8a8f53930af67d1ebf05149f32c24 (diff) | |
download | talos-op-linux-434d305405ab86414f6ea3f261307d443a2c3506.tar.gz talos-op-linux-434d305405ab86414f6ea3f261307d443a2c3506.zip |
inet: frag: don't account number of fragment queues
The 'nqueues' counter is protected by the lru list lock,
once thats removed this needs to be converted to atomic
counter. Given this isn't used for anything except for
reporting it to userspace via /proc, just remove it.
We still report the memory currently used by fragment
reassembly queues.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 25c2170e1298..a2db816e8461 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -299,11 +299,6 @@ static inline bool ipv6_accept_ra(struct inet6_dev *idev) } #if IS_ENABLED(CONFIG_IPV6) -static inline int ip6_frag_nqueues(struct net *net) -{ - return net->ipv6.frags.nqueues; -} - static inline int ip6_frag_mem(struct net *net) { return sum_frag_mem_limit(&net->ipv6.frags); |