Commit 06254914 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

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: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f2798eb4
...@@ -1520,6 +1520,7 @@ int ip6_push_pending_frames(struct sock *sk) ...@@ -1520,6 +1520,7 @@ int ip6_push_pending_frames(struct sock *sk)
ip6_cork_release(inet, np); ip6_cork_release(inet, np);
return err; return err;
error: error:
IP6_INC_STATS(net, rt->rt6i_idev, IPSTATS_MIB_OUTDISCARDS);
goto out; goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment