inet: frag: don't account number of fragment queues
authorFlorian Westphal <fw@strlen.de>
Thu, 24 Jul 2014 14:50:33 +0000 (16:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jul 2014 05:34:36 +0000 (22:34 -0700)
commit434d305405ab86414f6ea3f261307d443a2c3506
tree4637301f47599b6a4bac0c63d3d5df8cebc57f89
parentb13d3cbfb8e8a8f53930af67d1ebf05149f32c24
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>
include/net/inet_frag.h
include/net/ip.h
include/net/ipv6.h
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv4/proc.c
net/ipv6/proc.c