[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <001c01d2aee8$0e807130$2b815390$@foxmail.com>
Date: Thu, 6 Apr 2017 23:11:23 +0800
From: "Gao Feng" <gfree.wind@...mail.com>
To: "'Neal Cardwell'" <ncardwell@...gle.com>
Cc: "'David Miller'" <davem@...emloft.net>,
"'Alexey Kuznetsov'" <kuznet@....inr.ac.ru>,
"'James Morris'" <jmorris@...ei.org>,
"'Patrick McHardy'" <kaber@...sh.net>,
"'Netdev'" <netdev@...r.kernel.org>
Subject: RE: [PATCH net 1/1] net: tcp: Don't increase the TCP_MIB_OUTRSTS when fail to transmit RST
Hi Neal
> -----Original Message-----
>
> On Thu, Apr 6, 2017 at 10:05 AM, Gao Feng <gfree.wind@...mail.com> wrote:
> > If so, we should increase the TCP_MIB_OUTRSTS too when fail to alloc skb.
> > When machine is overloaded and mem is exhausted, it may fail to alloc skb.
>
> Moving the increment of TCP_MIB_OUTRSTS to the top of
> tcp_send_active_reset() sounds fine to me.
>
> neal
I sent the v2 patch, and didn't change the tcp_v4_send_reset and tcp_v6_send_response.
Because I think they are only used during connecting. The rst count is not as important as
tcp_send_active_reset.
Regards
Feng
.
Powered by blists - more mailing lists