diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 0fefd4409413..7797d528701b 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -175,7 +175,7 @@ int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) | |||
175 | inet->sport, usin->sin_port, sk, 1); | 175 | inet->sport, usin->sin_port, sk, 1); |
176 | if (tmp < 0) { | 176 | if (tmp < 0) { |
177 | if (tmp == -ENETUNREACH) | 177 | if (tmp == -ENETUNREACH) |
178 | IP_INC_STATS_BH(IPSTATS_MIB_OUTNOROUTES); | 178 | IP_INC_STATS_BH(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); |
179 | return tmp; | 179 | return tmp; |
180 | } | 180 | } |
181 | 181 | ||