Re: [PATCH] sctp: Add peeloff-flags socket option

2017-06-29 Thread Al Viro
On Thu, Jun 29, 2017 at 02:13:40PM -0400, Neil Horman wrote: > diff --git a/fs/file.c b/fs/file.c > index 1c2972e..a4521da 100644 > --- a/fs/file.c > +++ b/fs/file.c > @@ -807,6 +807,7 @@ void set_close_on_exec(unsigned int fd, int flag) > __clear_close_on_exec(fd, fdt); > spin_

Re: [PATCH] sctp: Add peeloff-flags socket option

2017-06-29 Thread Marcelo Ricardo Leitner
On Thu, Jun 29, 2017 at 02:13:40PM -0400, Neil Horman wrote: > Based on a request raised on the sctp devel list, there is a need to > augment the sctp_peeloff operation while specifying the O_CLOEXEC and > O_NONBLOCK flags (simmilar to the socket syscall). Since modifying the > SCTP_SOCKOPT_PEELOF