Re: [PATCH net] net/sock: allow the user to set negative peek offset

2017-08-23 Thread David Miller
From: Paolo Abeni Date: Wed, 23 Aug 2017 11:57:51 +0200 > This is necessary to allow the user to disable peeking with > offset once it's enabled. > Unix sockets already allow the above, with this patch we > permit it for udp[6] sockets, too. > > Fixes: 627d2d6b5500 ("udp: enable MSG_PEEK at non-

Re: [PATCH net] net/sock: allow the user to set negative peek offset

2017-08-23 Thread Willem de Bruijn
On Wed, Aug 23, 2017 at 5:57 AM, Paolo Abeni wrote: > This is necessary to allow the user to disable peeking with > offset once it's enabled. > Unix sockets already allow the above, with this patch we > permit it for udp[6] sockets, too. > > Fixes: 627d2d6b5500 ("udp: enable MSG_PEEK at non-zero o

[PATCH net] net/sock: allow the user to set negative peek offset

2017-08-23 Thread Paolo Abeni
This is necessary to allow the user to disable peeking with offset once it's enabled. Unix sockets already allow the above, with this patch we permit it for udp[6] sockets, too. Fixes: 627d2d6b5500 ("udp: enable MSG_PEEK at non-zero offset") Signed-off-by: Paolo Abeni --- net/core/sock.c | 3 ---