[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1329846032.18384.22.camel@edumazet-laptop>
Date: Tue, 21 Feb 2012 18:40:32 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Pavel Emelyanov <xemul@...allels.com>
Cc: David Miller <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH 2/6] datagram: Add offset argument to __skb_recv_datagram
Le mardi 21 février 2012 à 21:30 +0400, Pavel Emelyanov a écrit :
> 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 <xemul@...allels.com>
>
> ---
> 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 <eric.dumazet@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists