lkml.org 
[lkml]   [2019]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ipvs:set sock send/receive buffer correctly
From
Date


On 2019/4/18 10:02, Eric Dumazet wrote:
>
>
> On 04/17/2019 06:45 PM, linmiaohe wrote:
>>
>
>> In fact, I just implemented this function with reference to
>> sock_setsockopt(). When val * 2 overflow, we will set the
>> buffer as SOCK_MIN_SNDBUF, just as sock_setsockopt() do.
>>
>
> I do not think so.
>
> Please check latest linux kernel, not some old version.
>
> commit 4057765f2dee79cb92f9067909477303360be8d3 sock: consistent handling of extreme SO_SNDBUF/SO_RCVBUF values
>
> .
>

Thank you for your patience, you are right. My version is not the newest.
I will update my patch according to the newest version. Thanks again.

\
 
 \ /
  Last update: 2019-04-18 04:19    [W:0.053 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site