aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-09-01 18:37:16 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-01 18:37:16 -0700
commit0625491493d9000e4556bf566d205c28c8e7dc4e (patch)
tree3bb5524ca48b3c76b93bca9b1d63c4cd1d0a499e /net
parentf2798eb4e01b095f273f4bf40f511c9d69c0e1da (diff)
downloadkernel_samsung_smdk4412-0625491493d9000e4556bf566d205c28c8e7dc4e.tar.gz
kernel_samsung_smdk4412-0625491493d9000e4556bf566d205c28c8e7dc4e.tar.bz2
kernel_samsung_smdk4412-0625491493d9000e4556bf566d205c28c8e7dc4e.zip
ipv6: ip6_push_pending_frames() should increment IPSTATS_MIB_OUTDISCARDS
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>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/ip6_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 6ad5aadf81a..a931229856b 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -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;
}