[INET]: Collect common frag sysctl variables together
Some sysctl variables are used to tune the frag queues management and it will be useful to work with them in a common way in the future, so move them into one structure, moreover they are the same for all the frag management codes. I don't place them in the existing inet_frags object, introduced in the previous patch for two reasons: 1. to keep them in the __read_mostly section; 2. not to export the whole inet_frags objects outside. Signed-off-by:Pavel Emelyanov <xemul@openvz.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_frag.h 8 additions, 0 deletionsinclude/net/inet_frag.h
- include/net/ip.h 2 additions, 4 deletionsinclude/net/ip.h
- include/net/ipv6.h 2 additions, 4 deletionsinclude/net/ipv6.h
- include/net/netfilter/ipv6/nf_conntrack_ipv6.h 2 additions, 3 deletionsinclude/net/netfilter/ipv6/nf_conntrack_ipv6.h
- net/ipv4/ip_fragment.c 26 additions, 21 deletionsnet/ipv4/ip_fragment.c
- net/ipv4/sysctl_net_ipv4.c 5 additions, 4 deletionsnet/ipv4/sysctl_net_ipv4.c
- net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c 4 additions, 3 deletionsnet/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
- net/ipv6/netfilter/nf_conntrack_reasm.c 15 additions, 14 deletionsnet/ipv6/netfilter/nf_conntrack_reasm.c
- net/ipv6/reassembly.c 13 additions, 12 deletionsnet/ipv6/reassembly.c
- net/ipv6/sysctl_net_ipv6.c 5 additions, 4 deletionsnet/ipv6/sysctl_net_ipv6.c
Loading
Please register or sign in to comment