Re: [syzbot] [net?] INFO: rcu detected stall in packet_release

From: Hillf Danton
Date: Wed May 29 2024 - 18:52:51 EST


Test Vlad's patch [1]
[1] https://lore.kernel.org/netdev/20240527153955.553333-1-vladimir.oltean@xxxxxxx/

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main

--- x/net/sched/sch_taprio.c
+++ y/net/sched/sch_taprio.c
@@ -1847,6 +1847,7 @@ static int taprio_change(struct Qdisc *s
return -EOPNOTSUPP;
}
q->flags = taprio_flags;
+ taprio_set_picos_per_byte(dev, q);

err = taprio_parse_mqprio_opt(dev, mqprio, extack, q->flags);
if (err < 0)
@@ -1907,7 +1908,6 @@ static int taprio_change(struct Qdisc *s
if (err < 0)
goto free_sched;

- taprio_set_picos_per_byte(dev, q);
taprio_update_queue_max_sdu(q, new_admin, stab);

if (FULL_OFFLOAD_IS_ENABLED(q->flags))
--