[NETFILTER]: Fix timeout sysctls on big-endian 64bit architectures
The connection tracking timeout variables are unsigned long, but proc_dointvec_jiffies is used with sizeof(unsigned int) in the sysctl tables. Since there is no proc_doulongvec_jiffies function, change the timeout variables to unsigned int. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9d28026b7e
commit
babbdb1a18
@@ -335,10 +335,10 @@ static struct nf_hook_ops ipv6_conntrack_local_in_ops = {
|
||||
#ifdef CONFIG_SYSCTL
|
||||
|
||||
/* From nf_conntrack_proto_icmpv6.c */
|
||||
extern unsigned long nf_ct_icmpv6_timeout;
|
||||
extern unsigned int nf_ct_icmpv6_timeout;
|
||||
|
||||
/* From nf_conntrack_frag6.c */
|
||||
extern unsigned long nf_ct_frag6_timeout;
|
||||
extern unsigned int nf_ct_frag6_timeout;
|
||||
extern unsigned int nf_ct_frag6_low_thresh;
|
||||
extern unsigned int nf_ct_frag6_high_thresh;
|
||||
|
||||
|
Reference in New Issue
Block a user