Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-18 Thread Neil Horman
On Sun, Feb 18, 2018 at 01:44:42PM +, Richard Haines wrote: > On Fri, 2018-02-16 at 23:28 -0500, Neil Horman wrote: > > On Fri, Feb 16, 2018 at 07:51:02PM -0200, Marcelo Ricardo Leitner > > wrote: > > > On Fri, Feb 16, 2018 at 03:14:35PM -0500, Neil Horman wrote: > > > > On Fri, Feb 16, 2018 at

Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-18 Thread Richard Haines
On Fri, 2018-02-16 at 23:28 -0500, Neil Horman wrote: > On Fri, Feb 16, 2018 at 07:51:02PM -0200, Marcelo Ricardo Leitner > wrote: > > On Fri, Feb 16, 2018 at 03:14:35PM -0500, Neil Horman wrote: > > > On Fri, Feb 16, 2018 at 10:56:07AM -0200, Marcelo Ricardo Leitner > > > wrote: > > > > On Thu, Fe

Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-16 Thread Neil Horman
On Fri, Feb 16, 2018 at 07:51:02PM -0200, Marcelo Ricardo Leitner wrote: > On Fri, Feb 16, 2018 at 03:14:35PM -0500, Neil Horman wrote: > > On Fri, Feb 16, 2018 at 10:56:07AM -0200, Marcelo Ricardo Leitner wrote: > > > On Thu, Feb 15, 2018 at 09:15:40AM -0500, Neil Horman wrote: > > > > On Tue, Feb

Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-16 Thread Marcelo Ricardo Leitner
On Fri, Feb 16, 2018 at 03:14:35PM -0500, Neil Horman wrote: > On Fri, Feb 16, 2018 at 10:56:07AM -0200, Marcelo Ricardo Leitner wrote: > > On Thu, Feb 15, 2018 at 09:15:40AM -0500, Neil Horman wrote: > > > On Tue, Feb 13, 2018 at 08:54:44PM +, Richard Haines wrote: > > > > Add ip option suppor

Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-16 Thread Neil Horman
On Fri, Feb 16, 2018 at 10:56:07AM -0200, Marcelo Ricardo Leitner wrote: > On Thu, Feb 15, 2018 at 09:15:40AM -0500, Neil Horman wrote: > > On Tue, Feb 13, 2018 at 08:54:44PM +, Richard Haines wrote: > > > Add ip option support to allow LSM security modules to utilise CIPSO/IPv4 > > > and CALIP

Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-16 Thread Marcelo Ricardo Leitner
On Thu, Feb 15, 2018 at 09:15:40AM -0500, Neil Horman wrote: > On Tue, Feb 13, 2018 at 08:54:44PM +, Richard Haines wrote: > > Add ip option support to allow LSM security modules to utilise CIPSO/IPv4 > > and CALIPSO/IPv6 services. > > > > Signed-off-by: Richard Haines > > --- > > include/ne

Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-15 Thread Neil Horman
On Tue, Feb 13, 2018 at 08:54:44PM +, Richard Haines wrote: > Add ip option support to allow LSM security modules to utilise CIPSO/IPv4 > and CALIPSO/IPv6 services. > > Signed-off-by: Richard Haines > --- > include/net/sctp/sctp.h| 4 +++- > include/net/sctp/structs.h | 2 ++ > net/sct

Re: [PATCH V6 2/4] sctp: Add ip option support

2018-02-14 Thread Marcelo Ricardo Leitner
Hi, On Tue, Feb 13, 2018 at 08:54:44PM +, Richard Haines wrote: ... > diff --git a/net/sctp/socket.c b/net/sctp/socket.c > index bf271f8..8307968 100644 > --- a/net/sctp/socket.c > +++ b/net/sctp/socket.c > @@ -3138,6 +3138,7 @@ static int sctp_setsockopt_mappedv4(struct sock *sk, > char __us