commit | 7cc2b043bc3f1e8139e807528c8041c15924a411 | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Thu Apr 06 23:05:49 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 08 08:30:09 2017 -0700 |
tree | 13d35a2222f52437bd26b51281933614b31526eb | |
parent | 3aecfbb19ca746a62575de90957c14e03b9c5d23 [diff] |
net: tcp: Increase TCP_MIB_OUTRSTS even though fail to alloc skb 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@ikuai8.com> Signed-off-by: David S. Miller <davem@davemloft.net>