Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-19 Thread Neil Horman
On Mon, Nov 19, 2018 at 02:14:50AM -0200, Marcelo Ricardo Leitner wrote: > On Sun, Nov 18, 2018 at 04:02:25PM +0900, Xin Long wrote: > > On Sat, Nov 17, 2018 at 12:12 AM Neil Horman wrote: > > > > > > On Thu, Nov 15, 2018 at 09:41:01PM -0200, Marcelo Ricardo Leitner wrote: > > > > [ re-sending,

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-18 Thread Marcelo Ricardo Leitner
On Sun, Nov 18, 2018 at 04:02:25PM +0900, Xin Long wrote: > On Sat, Nov 17, 2018 at 12:12 AM Neil Horman wrote: > > > > On Thu, Nov 15, 2018 at 09:41:01PM -0200, Marcelo Ricardo Leitner wrote: > > > [ re-sending, without html this time ] > > > > > > On Thu, Nov 15, 2018, 15:26 Neil Horman > > >

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-17 Thread Xin Long
On Sat, Nov 17, 2018 at 12:12 AM Neil Horman wrote: > > On Thu, Nov 15, 2018 at 09:41:01PM -0200, Marcelo Ricardo Leitner wrote: > > [ re-sending, without html this time ] > > > > On Thu, Nov 15, 2018, 15:26 Neil Horman > > > > On Thu, Nov 15, 2018 at 08:25:36PM -0200, Marcelo Ricardo Leitner

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-16 Thread Neil Horman
On Thu, Nov 15, 2018 at 09:41:01PM -0200, Marcelo Ricardo Leitner wrote: > [ re-sending, without html this time ] > > On Thu, Nov 15, 2018, 15:26 Neil Horman > > On Thu, Nov 15, 2018 at 08:25:36PM -0200, Marcelo Ricardo Leitner wrote: > > > On Thu, Nov 15, 2018 at 04:43:10PM -0500, Neil Horman

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-15 Thread Xin Long
On Fri, Nov 16, 2018 at 2:22 AM Marcelo Ricardo Leitner wrote: > > On Thu, Nov 15, 2018 at 07:14:28PM +0800, Xin Long wrote: > > As rfc7496#section4.5 says about SCTP_PR_SUPPORTED: > > > >This socket option allows the enabling or disabling of the > >negotiation of PR-SCTP support for

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-15 Thread Neil Horman
On Thu, Nov 15, 2018 at 08:25:36PM -0200, Marcelo Ricardo Leitner wrote: > On Thu, Nov 15, 2018 at 04:43:10PM -0500, Neil Horman wrote: > > On Thu, Nov 15, 2018 at 03:22:21PM -0200, Marcelo Ricardo Leitner wrote: > > > On Thu, Nov 15, 2018 at 07:14:28PM +0800, Xin Long wrote: > > > > As

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-15 Thread Marcelo Ricardo Leitner
On Thu, Nov 15, 2018 at 04:43:10PM -0500, Neil Horman wrote: > On Thu, Nov 15, 2018 at 03:22:21PM -0200, Marcelo Ricardo Leitner wrote: > > On Thu, Nov 15, 2018 at 07:14:28PM +0800, Xin Long wrote: > > > As rfc7496#section4.5 says about SCTP_PR_SUPPORTED: > > > > > >This socket option allows

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-15 Thread Neil Horman
On Thu, Nov 15, 2018 at 03:22:21PM -0200, Marcelo Ricardo Leitner wrote: > On Thu, Nov 15, 2018 at 07:14:28PM +0800, Xin Long wrote: > > As rfc7496#section4.5 says about SCTP_PR_SUPPORTED: > > > >This socket option allows the enabling or disabling of the > >negotiation of PR-SCTP support

Re: [PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-15 Thread Marcelo Ricardo Leitner
On Thu, Nov 15, 2018 at 07:14:28PM +0800, Xin Long wrote: > As rfc7496#section4.5 says about SCTP_PR_SUPPORTED: > >This socket option allows the enabling or disabling of the >negotiation of PR-SCTP support for future associations. For existing >associations, it allows one to query

[PATCH net] sctp: not allow to set asoc prsctp_enable by sockopt

2018-11-15 Thread Xin Long
As rfc7496#section4.5 says about SCTP_PR_SUPPORTED: This socket option allows the enabling or disabling of the negotiation of PR-SCTP support for future associations. For existing associations, it allows one to query whether or not PR-SCTP support was negotiated on a particular