From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [PATCH nf-next] netfilter: nf_ct_sctp: minimal multihoming support Date: Wed, 15 Jul 2015 18:45:40 +0200 Message-ID: <20150715164540.GA4047@salvia> References: <20150714122311.8DA8EA0C9A@unicorn.suse.cz> <20150714153847.GA3507@salvia> <20150714162850.GA8478@unicorn.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20150714162850.GA8478-OEaqT8BN2ewCVLCxKZUutA@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Michal Kubecek Cc: netfilter-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, coreteam-Cap9r6Oaw4JrovVCs/uTlw@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Patrick McHardy , Jozsef Kadlecsik , "David S. Miller" List-Id: linux-api@vger.kernel.org On Tue, Jul 14, 2015 at 06:28:50PM +0200, Michal Kubecek wrote: > On Tue, Jul 14, 2015 at 05:38:47PM +0200, Pablo Neira Ayuso wrote: > > On Tue, Jul 14, 2015 at 02:23:11PM +0200, Michal Kubecek wrote: > > > @@ -658,6 +696,18 @@ static struct ctl_table sctp_sysctl_table[] = { > > > .mode = 0644, > > > .proc_handler = proc_dointvec_jiffies, > > > }, > > > + { > > > + .procname = "nf_conntrack_sctp_timeout_heartbeat_sent", > > > + .maxlen = sizeof(unsigned int), > > > + .mode = 0644, > > > + .proc_handler = proc_dointvec_jiffies, > > > + }, > > > + { > > > + .procname = "nf_conntrack_sctp_timeout_heartbeat_acked", > > > + .maxlen = sizeof(unsigned int), > > > + .mode = 0644, > > > + .proc_handler = proc_dointvec_jiffies, > > > + }, > > > { } > > > }; > > > > > > @@ -705,6 +755,18 @@ static struct ctl_table sctp_compat_sysctl_table[] = { > > > .mode = 0644, > > > .proc_handler = proc_dointvec_jiffies, > > > }, > > > + { > > > + .procname = "ip_conntrack_sctp_timeout_heartbeat_sent", > > > + .maxlen = sizeof(unsigned int), > > > + .mode = 0644, > > > + .proc_handler = proc_dointvec_jiffies, > > > + }, > > > + { > > > + .procname = "ip_conntrack_sctp_timeout_heartbeat_acked", > > > + .maxlen = sizeof(unsigned int), > > > + .mode = 0644, > > > + .proc_handler = proc_dointvec_jiffies, > > > + }, > > > { } > > > > I don't see the nla_policy updates for the netlink cttimeout > > interface. > > I didn't realize those were needed. It means adding two entries to > sctp_timeout_nla_policy and two values to enum ctattr_timeout_sctp? Exactly.