Unverified Commit aac4f645 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15089 net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT

parents 3263da69 c96af7d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -781,7 +781,7 @@ void qdisc_tree_reduce_backlog(struct Qdisc *sch, int n, int len)
	drops = max_t(int, n, 0);
	rcu_read_lock();
	while ((parentid = sch->parent)) {
		if (TC_H_MAJ(parentid) == TC_H_MAJ(TC_H_INGRESS))
		if (parentid == TC_H_ROOT)
			break;

		if (sch->flags & TCQ_F_NOPARENT)