lvs-devel
|
To: | Eric Dumazet <eric.dumazet@xxxxxxxxx>, <wensong@xxxxxxxxxxxx>, <horms@xxxxxxxxxxxx>, <ja@xxxxxx>, <pablo@xxxxxxxxxxxxx>, <kadlec@xxxxxxxxxxxxxxxxx>, <fw@xxxxxxxxx>, <davem@xxxxxxxxxxxxx>, <netdev@xxxxxxxxxxxxxxx>, <lvs-devel@xxxxxxxxxxxxxxx>, <netfilter-devel@xxxxxxxxxxxxxxx>, <coreteam@xxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx> |
---|---|
Subject: | Re: [PATCH] ipvs:set sock send/receive buffer correctly |
Cc: | Mingfangsen <mingfangsen@xxxxxxxxxx>, <liujie165@xxxxxxxxxx> |
From: | linmiaohe <linmiaohe@xxxxxxxxxx> |
Date: | Thu, 18 Apr 2019 10:17:32 +0800 |
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. |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [PATCH] ipvs:set sock send/receive buffer correctly, Eric Dumazet |
---|---|
Next by Date: | Re: [PATCH v2] ipvs:set sock send/receive buffer correctly, Julian Anastasov |
Previous by Thread: | Re: [PATCH] ipvs:set sock send/receive buffer correctly, Eric Dumazet |
Next by Thread: | Re: [PATCH v2] ipvs:set sock send/receive buffer correctly, Julian Anastasov |
Indexes: | [Date] [Thread] [Top] [All Lists] |