Skip to content

Commit 0625491

Browse files
Eric Dumazetdavem330
authored andcommitted
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>
1 parent f2798eb commit 0625491

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ipv6/ip6_output.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,6 +1520,7 @@ int ip6_push_pending_frames(struct sock *sk)
15201520
ip6_cork_release(inet, np);
15211521
return err;
15221522
error:
1523+
IP6_INC_STATS(net, rt->rt6i_idev, IPSTATS_MIB_OUTDISCARDS);
15231524
goto out;
15241525
}
15251526

0 commit comments

Comments
 (0)