sch_cake: Correctly update parent qlen when splitting GSO packets
authorToke Høiland-Jørgensen <toke@redhat.com>
Wed, 9 Jan 2019 16:09:44 +0000 (17:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 04:12:01 +0000 (20:12 -0800)
commit8c6c37fdc20ec9ffaa342f827a8e20afe736fb0c
tree98e514e9a434fefc86518fe11b91f6d4429bcbdc
parent37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea
sch_cake: Correctly update parent qlen when splitting GSO packets

To ensure parent qdiscs have the same notion of the number of enqueued
packets even after splitting a GSO packet, update the qdisc tree with the
number of packets that was added due to the split.

Reported-by: Pete Heist <pete@heistp.net>
Tested-by: Pete Heist <pete@heistp.net>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cake.c