[IPV4]: Fix SNMPv2 "ipFragFails" counter error
[deliverable/linux.git] / net / ipv4 / ip_output.c
index 4c20f5546893dc104afd7cdf32dc4f148b38821b..a2ede167e045b32340e3a1346b8ccde641cb6b68 100644 (file)
@@ -440,6 +440,7 @@ int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff*))
        iph = skb->nh.iph;
 
        if (unlikely((iph->frag_off & htons(IP_DF)) && !skb->local_df)) {
+               IP_INC_STATS(IPSTATS_MIB_FRAGFAILS);
                icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED,
                          htonl(dst_mtu(&rt->u.dst)));
                kfree_skb(skb);
This page took 0.040672 seconds and 5 git commands to generate.