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 /net/ipv4/inet_fragment.c | |
parent | b13d3cbfb8e8a8f53930af67d1ebf05149f32c24 (diff) | |
download | linux-434d305405ab86414f6ea3f261307d443a2c3506.tar.gz linux-434d305405ab86414f6ea3f261307d443a2c3506.tar.bz2 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 'net/ipv4/inet_fragment.c')
-rw-r--r-- | net/ipv4/inet_fragment.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/inet_fragment.c b/net/ipv4/inet_fragment.c index 43315ecb9400..231ca0b40811 100644 --- a/net/ipv4/inet_fragment.c +++ b/net/ipv4/inet_fragment.c @@ -193,7 +193,6 @@ EXPORT_SYMBOL(inet_frags_init); void inet_frags_init_net(struct netns_frags *nf) { - nf->nqueues = 0; init_frag_mem_limit(nf); INIT_LIST_HEAD(&nf->lru_list); spin_lock_init(&nf->lru_lock); |