]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'udp-peek'
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 20:29:38 +0000 (16:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 20:29:38 +0000 (16:29 -0400)
commit768b3804f214029b34b2186802a9c5d90f15d17e
tree4a4d64af861781920b2b4ef6d0e7b4423b787292
parentae4308852e8cde8777304c5d63b0efeee6c23389
parenta915da8cf0cde8c2b201b5b0762df633aada3bf0
Merge branch 'udp-peek'

Willem de Bruijn says:

====================
udp: support SO_PEEK_OFF

Support peeking at a non-zero offset for UDP sockets. Match the
existing behavior on Unix datagram sockets.

1/3 makes the sk_peek_offset functions safe to use outside locks
2/3 removes udp headers before enqueue, to simplify offset arithmetic
3/3 introduces SO_PEEK_OFFSET support, with Unix socket peek semantics.

Changes
  v1->v2
    - squash patches 3 and 4
====================

Signed-off-by: David S. Miller <davem@davemloft.net>