[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5538F821.6070503@akamai.com>
Date: Thu, 23 Apr 2015 08:48:17 -0500
From: Josh Hunt <johunt@...mai.com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
edumazet@...gle.com
Subject: Re: [PATCH] fix tcp fin memory accounting
On 04/21/2015 07:09 PM, Eric Dumazet wrote:
>
> Note that this patch adds a deadlock possibility in some stress
> situations.
>
> If a process owning some tcp socket dies, and tcp_mem[2] is already hit,
> all sk_stream_alloc_skb() can return NULL and we loop in tcp_send_fin(),
> making no progress because we can not free any tcp memory.
Ugh. Thanks for fixing this Eric!
Josh
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists