]> git.baikalelectronics.ru Git - kernel.git/commit
[INET]: Consolidate the xxx_frag_destroy
authorPavel Emelyanov <xemul@openvz.org>
Mon, 15 Oct 2007 09:39:14 +0000 (02:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:42 +0000 (12:26 -0700)
commitd4672be3ace1e37b7700d6ada0d954a076958e7a
tree9c4054c8393f03bae9565f98a109cc5721cf490f
parentcbf6f78826977eb46242229dd541a41ac3305f46
[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