]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit513e796d7474f578c878e86d9461c1538ada6baf
tree98e514e9a434fefc86518fe11b91f6d4429bcbdc
parent8c9cf44a5cc96b4b4c563b2978c99e49c5da9b77
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