[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120221.150543.782673791038909243.davem@davemloft.net>
Date: Tue, 21 Feb 2012 15:05:43 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: xemul@...allels.com, netdev@...r.kernel.org
Subject: Re: [PATCH 6/6] unix: Support peeking offset for stream sockets
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 21 Feb 2012 18:51:19 +0100
> Le mardi 21 février 2012 à 21:32 +0400, Pavel Emelyanov a écrit :
>> The same here -- we can protect the sk_peek_off manipulations with
>> the unix_sk->readlock mutex.
>>
>> The peeking of data from a stream socket is done in the datagram style,
>> i.e. even if there's enough room for more data in the user buffer, only
>> the head skb's data is copied in there. This feature is preserved when
>> peeking data from a given offset -- the data is read till the nearest
>> skb's boundary.
>>
>> Signed-off-by: Pavel Emelyanov <xemul@...allels.com>
>>
>> ---
>
> Acked-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
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