[INET]: Consolidate xxx_the secret_rebuild
authorPavel Emelyanov <xemul@openvz.org>
Mon, 15 Oct 2007 09:38:08 +0000 (02:38 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:41 +0000 (12:26 -0700)
commit321a3a99e4717b960e21c62fc6a140d21453df7f
tree118ae0f39bd2344b731670d601abf0bcbbf8faa7
parent277e650ddfc6944ef5f5466fd898b8da7f06cd82
[INET]: Consolidate xxx_the secret_rebuild

This code works with the generic data types as well, so
move this into inet_fragment.c

This move makes it possible to hide the secret_timer
management and the secret_rebuild routine completely in
the inet_fragment.c

Introduce the ->hashfn() callback in inet_frags() to get
the hashfun for a given inet_frag_queue() object.

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