commit | 257a73031d29447ee82fe06d2b97d8564f63276d | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Wed Aug 23 11:57:51 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 23 22:18:44 2017 -0700 |
tree | e622eb1f5b7e926aec046378b95111ea14f23a38 | |
parent | 110d8465a66aea440ca0012f8b8ac59778dea189 [diff] |
net/sock: allow the user to set negative peek offset 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 <pabeni@redhat.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>