[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5705F7A3.6060300@huawei.com>
Date: Thu, 7 Apr 2016 14:01:07 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
<netdev@...r.kernel.org>
CC: <davem@...emloft.net>, <eric.dumazet@...il.com>
Subject: Re: [PATCH RFC] net: decrease the length of backlog queue immediately
after it's detached from sk
On 2016/3/30 20:56, Sergei Shtylyov wrote:
> Hello.
>
> On 3/30/2016 8:16 AM, Yang Yingliang wrote:
>
>> When task A hold the sk owned in tcp_sendmsg, if lots of packets
>> arrive and the packets will be added to backlog queue. The packets
>> will be handled in release_sock called from tcp_sendmsg. When the
>> sk_backlog is removed from sk, the length will not decrease until
>> all the packets in backlog queue are handled. This may leads to the
>> new packets be dropped because the lenth is too big. So set the
>> lenth to 0 immediately after it's detached from sk.
>
> Length?
>
>> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
> [...]
>
> MBR, Sergei
>
>
Yes. It's a typo.
Thanks
Yang
Powered by blists - more mailing lists