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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Tue, 21 Feb 2012 18:40:32 +0100

> 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@xxxxxxxxxxxxx>
>> 
>> ---
>>  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@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux