[INET]: Consolidate the xxx_frag_destroy
commit1e4b82873af0f21002e37a81ef063d2e5410deb3
authorPavel Emelyanov <xemul@openvz.org>
Mon, 15 Oct 2007 09:39:14 +0000 (15 02:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:42 +0000 (15 12:26 -0700)
tree9c4054c8393f03bae9565f98a109cc5721cf490f
parent321a3a99e4717b960e21c62fc6a140d21453df7f
[INET]: Consolidate the xxx_frag_destroy

To make in possible we need to know the exact frag queue
size for inet_frags->mem management and two callbacks:

 * to destoy the skb (optional, used in conntracks only)
 * to free the queue itself (mandatory, but later I plan to
   move the allocation and the destruction of frag_queues
   into the common place, so this callback will most likely
   be optional too).

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c