]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/tcp_output.c
tcp: Increment OUTRSTS in tcp_send_active_reset()
[net-next-2.6.git] / net / ipv4 / tcp_output.c
index e399bde7813a9057bcd4b764120854aa558d5df7..ad993ecb4810d88dc49bca51208a96e67c9555bb 100644 (file)
@@ -2131,6 +2131,8 @@ void tcp_send_active_reset(struct sock *sk, gfp_t priority)
        TCP_SKB_CB(skb)->when = tcp_time_stamp;
        if (tcp_transmit_skb(sk, skb, 0, priority))
                NET_INC_STATS(LINUX_MIB_TCPABORTFAILED);
+
+       TCP_INC_STATS(TCP_MIB_OUTRSTS);
 }
 
 /* WARNING: This routine must only be called when we have already sent