On 02/24/2017 10:50 PM, Jon Maloy wrote:
> 
>> -----Original Message-----
>> From: Parthasarathy Bhuvaragan
>> Sent: Friday, February 24, 2017 08:51 AM
>> To: tipc-discussion@lists.sourceforge.net; Jon Maloy
>> <jon.ma...@ericsson.com>; Ying Xue <ying....@windriver.com>;
>> pbut...@sonusnet.com
>> Subject: [PATCH net v1 1/2] tipc: fix socket flow control errors
>>
>> In this commit, we fix the following two errors:
>> 1. In tipc_send_stream(), fix the return value during congestion
>>    when the send is partially successful. Until now, we return -1
>>    instead of returning the partial sent bytes.
>> 2. In tipc_recv_stream(), we update the rcv_unack not based on the
>>    message size, but on sz. Usually they are the same, but in cases
>>    where the socket receivers buffer is smaller than the incoming
>>    message, these two parameters differ greatly.
> I was first confused by this, but I assume you with 'socket receive buffer' 
> in this case mean the read buffer  given by the user when he does read(), not 
> sk->sk_rcvbuf as I first thought


Yes, I have the same impression at a glance. Please slight revise the
description.

Thanks,
Ying

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to