Skip to content

Commit

Permalink
ipv6: ip6_push_pending_frames() should increment IPSTATS_MIB_OUTDISCARDS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Sep 2, 2009
1 parent f2798eb commit 0625491
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv6/ip6_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,7 @@ int ip6_push_pending_frames(struct sock *sk)
ip6_cork_release(inet, np);
return err;
error:
IP6_INC_STATS(net, rt->rt6i_idev, IPSTATS_MIB_OUTDISCARDS);
goto out;
}

Expand Down

0 comments on commit 0625491

Please sign in to comment.