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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 19:35:32 +0000 (20:35 +0100)
commit146f563f9761e070e6ef45e073bdc046035f39a0
tree0be1e58b6a24bf0b6c98d6829f3a2a679cf5b2de
parent36a2e9bf242b49ac6be1e8d57d6da2099d93e405
sch_cake: Correctly update parent qlen when splitting GSO packets

[ Upstream commit 8c6c37fdc20ec9ffaa342f827a8e20afe736fb0c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/sched/sch_cake.c