ipv6: ip6_push_pending_frames() should increment IPSTATS_MIB_OUTDISCARDS
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 2 Sep 2009 01:37:16 +0000 (18:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 01:37:16 +0000 (18:37 -0700)
qdisc drops should be notified to IP_RECVERR enabled sockets, as done in IPV4.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c

index 6ad5aadf81ad73b53f7e2320c87fe265140df691..a931229856b64624922c4ea1729771f26fd9b4e3 100644 (file)
@@ -1520,6 +1520,7 @@ out:
        ip6_cork_release(inet, np);
        return err;
 error:
+       IP6_INC_STATS(net, rt->rt6i_idev, IPSTATS_MIB_OUTDISCARDS);
        goto out;
 }