aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/ip_input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c
index 324e7e0fdb2a..63ab5230c611 100644
--- a/net/ipv4/ip_input.c
+++ b/net/ipv4/ip_input.c
@@ -340,6 +340,8 @@ static inline int ip_rcv_finish(struct sk_buff *skb)
340 if (unlikely(err)) { 340 if (unlikely(err)) {
341 if (err == -EHOSTUNREACH) 341 if (err == -EHOSTUNREACH)
342 IP_INC_STATS_BH(IPSTATS_MIB_INADDRERRORS); 342 IP_INC_STATS_BH(IPSTATS_MIB_INADDRERRORS);
343 else if (err == -ENETUNREACH)
344 IP_INC_STATS_BH(IPSTATS_MIB_INNOROUTES);
343 goto drop; 345 goto drop;
344 } 346 }
345 } 347 }