Thread (21 messages) 21 messages, 4 authors, 2016-04-13

Re: [PATCH RFC] net: decrease the length of backlog queue immediately after it's detached from sk

From: Yang Yingliang <hidden>
Date: 2016-04-07 06:01:58


On 2016/3/30 20:56, Sergei Shtylyov wrote:
Hello.

On 3/30/2016 8:16 AM, Yang Yingliang wrote:
quoted
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?
quoted
Signed-off-by: Yang Yingliang <redacted>
[...]

MBR, Sergei
Yes. It's a typo.

Thanks
Yang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help