Thread (19 messages) flat view 19 messages, 3 authors, 2012-02-21

Re: [PATCH 2/6] datagram: Add offset argument to __skb_recv_datagram

From: David Miller <davem@davemloft.net>
Date: 2012-02-21 20:04:26

From: Eric Dumazet <redacted>
Date: Tue, 21 Feb 2012 18:40:32 +0100
Le mardi 21 février 2012 à 21:30 +0400, Pavel Emelyanov a écrit :
quoted
This one is only considered for MSG_PEEK flag and the value pointed by
it specifies where to start peeking bytes from. If the offset happens to
point into the middle of the returned skb, the offset within this skb is
put back to this very argument.

Signed-off-by: Pavel Emelyanov <redacted>

---
 include/linux/skbuff.h |    2 +-
 net/core/datagram.c    |   21 +++++++++++++--------
 net/ipv4/udp.c         |    4 ++--
 net/ipv6/udp.c         |    4 ++--
 4 files changed, 18 insertions(+), 13 deletions(-)
Acked-by: Eric Dumazet <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help