On Tue, 2015-03-24 at 01:11 -0500, Josh Hunt wrote: > On 03/24/2015 01:10 AM, David Miller wrote: > > From: Josh Hunt <joh...@akamai.com> > > Date: Fri, 20 Mar 2015 12:36:24 -0500 > > > >> Would it be possible to queue up 355a901e6cf1 (tcp: make connect() > >> mem charging friendly) for stable as well? That is the commit that > >> fixes this problem in the tcp_connect()/tcp_send_syn_data() cases. > > > > Done. > > > > Thanks David.
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. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html