diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 3 | ||||
-rw-r--r-- | net/ipv6/ip6mr.c | 3 | ||||
-rw-r--r-- | net/ipv6/sit.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 8be3c452af90..c2c0f89397b1 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -768,8 +768,7 @@ static int ip6_tnl_rcv(struct sk_buff *skb, __u16 protocol, | |||
768 | 768 | ||
769 | dscp_ecn_decapsulate(t, ipv6h, skb); | 769 | dscp_ecn_decapsulate(t, ipv6h, skb); |
770 | 770 | ||
771 | if (netif_rx(skb) == NET_RX_DROP) | 771 | netif_rx(skb); |
772 | t->dev->stats.rx_dropped++; | ||
773 | 772 | ||
774 | rcu_read_unlock(); | 773 | rcu_read_unlock(); |
775 | return 0; | 774 | return 0; |
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 2640c9be589d..6f32ffce7022 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c | |||
@@ -666,8 +666,7 @@ static int pim6_rcv(struct sk_buff *skb) | |||
666 | 666 | ||
667 | skb_tunnel_rx(skb, reg_dev); | 667 | skb_tunnel_rx(skb, reg_dev); |
668 | 668 | ||
669 | if (netif_rx(skb) == NET_RX_DROP) | 669 | netif_rx(skb); |
670 | reg_dev->stats.rx_dropped++; | ||
671 | 670 | ||
672 | dev_put(reg_dev); | 671 | dev_put(reg_dev); |
673 | return 0; | 672 | return 0; |
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index d7701782b639..367a6cc584cc 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -600,8 +600,7 @@ static int ipip6_rcv(struct sk_buff *skb) | |||
600 | 600 | ||
601 | ipip6_ecn_decapsulate(iph, skb); | 601 | ipip6_ecn_decapsulate(iph, skb); |
602 | 602 | ||
603 | if (netif_rx(skb) == NET_RX_DROP) | 603 | netif_rx(skb); |
604 | tunnel->dev->stats.rx_dropped++; | ||
605 | 604 | ||
606 | rcu_read_unlock(); | 605 | rcu_read_unlock(); |
607 | return 0; | 606 | return 0; |