inet: frag: change *_frag_mem_limit functions to take netns_frags as argument
authorFlorian Westphal <fw@strlen.de>
Thu, 23 Jul 2015 10:05:38 +0000 (12:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 04:00:14 +0000 (21:00 -0700)
commit0e60d245a0be7fdbb723607f1d6621007916b252
treed9e4326a5b709d2fd069128f1c6ec46ff56e0ebb
parentd1fe19444d82e399e38c1594c71b850eca8e9de0
inet: frag: change *_frag_mem_limit functions to take netns_frags as argument

Followup patch will call it after inet_frag_queue was freed, so q->net
doesn't work anymore (but netf = q->net; free(q); mem_limit(netf) would).

Tested-by: Frank Schreuder <fschreuder@transip.nl>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
net/ieee802154/6lowpan/reassembly.c
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c