diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 176f0702b8ac..36a19707f67f 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -1995,7 +1995,7 @@ void tcp_xmit_retransmit_queue(struct sock *sk) | |||
1995 | mib_idx = LINUX_MIB_TCPFASTRETRANS; | 1995 | mib_idx = LINUX_MIB_TCPFASTRETRANS; |
1996 | else | 1996 | else |
1997 | mib_idx = LINUX_MIB_TCPSLOWSTARTRETRANS; | 1997 | mib_idx = LINUX_MIB_TCPSLOWSTARTRETRANS; |
1998 | NET_INC_STATS_BH(mib_idx); | 1998 | NET_INC_STATS_BH(sock_net(sk), mib_idx); |
1999 | 1999 | ||
2000 | if (skb == tcp_write_queue_head(sk)) | 2000 | if (skb == tcp_write_queue_head(sk)) |
2001 | inet_csk_reset_xmit_timer(sk, ICSK_TIME_RETRANS, | 2001 | inet_csk_reset_xmit_timer(sk, ICSK_TIME_RETRANS, |
@@ -2065,7 +2065,7 @@ void tcp_xmit_retransmit_queue(struct sock *sk) | |||
2065 | inet_csk(sk)->icsk_rto, | 2065 | inet_csk(sk)->icsk_rto, |
2066 | TCP_RTO_MAX); | 2066 | TCP_RTO_MAX); |
2067 | 2067 | ||
2068 | NET_INC_STATS_BH(LINUX_MIB_TCPFORWARDRETRANS); | 2068 | NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_TCPFORWARDRETRANS); |
2069 | } | 2069 | } |
2070 | } | 2070 | } |
2071 | 2071 | ||