commit | 23ea2b08f82c51ebdc612bfbbca095cdbc46c3a8 | [log] [tgz] |
---|---|---|
author | Lion Ackermann <[email protected]> | Mon Dec 02 17:22:57 2024 +0100 |
committer | Shuo Yang <[email protected]> | Fri Jan 03 15:23:39 2025 -0800 |
tree | 1cc7106049090b4b26cbfd74483701d50abe6991 | |
parent | ecdce3b8d0afa08ee48ac828ed30f246f94192ae [diff] |
net: sched: fix ordering of qlen adjustment commit 5eb7de8cd58e73851cd37ff8d0666517d9926948 upstream. Changes to sch->q.qlen around qdisc_tree_reduce_backlog() need to happen _before_ a call to said function because otherwise it may fail to notify parent qdiscs when the child is about to become empty. BUG=b/385096052 TEST=presubmit RELEASE_NOTE=Fixed KCTF-5eb7de8 in the Linux kernel. cos-patch: security-high Change-Id: I05eb0a4b6b43bb9e4c987fd37946959588bb66ea Signed-off-by: Lion Ackermann <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: David S. Miller <[email protected]> Cc: Artem Metla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Kernel CVE Triage Automation <[email protected]> Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/89381 Tested-by: Cusky Presubmit Bot <[email protected]> Reviewed-by: Shuo Yang <[email protected]> Reviewed-by: He Gao <[email protected]>