summaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorFlorian Westphal2014-07-24 16:50:33 +0200
committerDavid S. Miller2014-07-28 07:34:36 +0200
commit434d305405ab86414f6ea3f261307d443a2c3506 (patch)
tree4637301f47599b6a4bac0c63d3d5df8cebc57f89 /include/net/ip.h
parentinet: frag: move eviction of queues to work queue (diff)
downloadkernel-qcow2-linux-434d305405ab86414f6ea3f261307d443a2c3506.tar.gz
kernel-qcow2-linux-434d305405ab86414f6ea3f261307d443a2c3506.tar.xz
kernel-qcow2-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/ip.h')
-rw-r--r--include/net/ip.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index 2e8f055989c3..ca14799545fd 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -495,7 +495,6 @@ static inline struct sk_buff *ip_check_defrag(struct sk_buff *skb, u32 user)
}
#endif
int ip_frag_mem(struct net *net);
-int ip_frag_nqueues(struct net *net);
/*
* Functions provided by ip_forward.c