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 <yangyingli...@huawei.com>
[...]

MBR, Sergei

Reply via email to