[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170408.083042.350729960635338681.davem@davemloft.net>
Date: Sat, 08 Apr 2017 08:30:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gfree.wind@...mail.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, kaber@...sh.net,
ncardwell@...gle.com, netdev@...r.kernel.org, fgao@...ai8.com
Subject: Re: [PATCH net v2 1/1] net: tcp: Increase TCP_MIB_OUTRSTS even
though fail to alloc skb
From: gfree.wind@...mail.com
Date: Thu, 6 Apr 2017 23:05:49 +0800
> From: Gao Feng <fgao@...ai8.com>
>
> Because TCP_MIB_OUTRSTS is an important count, so always increase it
> whatever send it successfully or not.
>
> Now move the increment of TCP_MIB_OUTRSTS to the top of
> tcp_send_active_reset to make sure it is increased always even though
> fail to alloc skb.
>
> Signed-off-by: Gao Feng <fgao@...ai8.com>
Applied, thank you.
Powered by blists - more mailing lists