[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>
Showing
- include/net/inet_frag.h 2 additions, 0 deletionsinclude/net/inet_frag.h
- net/ipv4/inet_fragment.c 35 additions, 0 deletionsnet/ipv4/inet_fragment.c
- net/ipv4/ip_fragment.c 5 additions, 29 deletionsnet/ipv4/ip_fragment.c
- net/ipv6/netfilter/nf_conntrack_reasm.c 5 additions, 29 deletionsnet/ipv6/netfilter/nf_conntrack_reasm.c
- net/ipv6/reassembly.c 5 additions, 32 deletionsnet/ipv6/reassembly.c
Loading
Please register or sign in to comment