Re: [PATCH net-next 0/3] udp: support SO_PEEK_OF

2016-04-05 Thread Willem de Bruijn
> 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

[PATCH net-next 0/3] udp: support SO_PEEK_OF

2016-04-05 Thread Willem de Bruijn
From: Willem de Bruijn 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