Re: [syzbot] [net?] INFO: rcu detected stall in fq_pie_timer (2)

From: Hillf Danton
Date: Thu Dec 28 2023 - 07:07:06 EST


On Wed, 27 Dec 2023 05:54:18 -0800
> HEAD commit: 7c5e046bdcb2 Merge tag 'net-6.7-rc7' of git://git.kernel.o..
> git tree: net
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1127e71ae80000

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

--- x/net/sched/sch_fq_pie.c
+++ y/net/sched/sch_fq_pie.c
@@ -401,7 +401,7 @@ static void fq_pie_timer(struct timer_li
next = tupdate;
}
if (tupdate)
- mod_timer(&q->adapt_timer, jiffies + next);
+ mod_timer(&q->adapt_timer, jiffies + max(2, next));
spin_unlock(root_lock);
rcu_read_unlock();
}
--