diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-03-04 01:56:40 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-04 17:54:22 -0800 |
| commit | a4c2b8be2e5329e7fac6e8f64ddcb8958155cfcb (patch) | |
| tree | 9493c38f57bd0528ce1bce63429d4de25d09c44d /include/linux/extable.h | |
| parent | f7d92f11bd33a6eb49c7c812255ef4ab13681f0f (diff) | |
net_sched: sch_fq: clear q->band_pkt_count[] in fq_reset()
When/if a NIC resets, queues are deactivated by dev_deactivate_many(),
then reactivated when the reset operation completes.
fq_reset() removes all the skbs from various queues.
If we do not clear q->band_pkt_count[], these counters keep growing
and can eventually reach sch->limit, preventing new packets to be queued.
Many thanks to Praveen for discovering the root cause.
Fixes: 29f834aa326e ("net_sched: sch_fq: add 3 bands and WRR scheduling")
Diagnosed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260304015640.961780-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/extable.h')
0 files changed, 0 insertions, 0 deletions
