Re: [PATCH net] tcp: avoid looping in tcp_send_fin()

2015-04-24 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Thu, 23 Apr 2015 10:42:39 -0700 From: Eric Dumazet eduma...@google.com Presence of an unbound loop in tcp_send_fin() had always been hard to explain when analyzing crash dumps involving gigantic dying processes with millions of sockets.

[PATCH net] tcp: avoid looping in tcp_send_fin()

2015-04-23 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com Presence of an unbound loop in tcp_send_fin() had always been hard to explain when analyzing crash dumps involving gigantic dying processes with millions of sockets. Lets try a different strategy : In case of memory pressure, try to add the FIN flag to