[PATCH 10/10] wifi: mt76: mt7996: add sanity check for NAPI schedule

Felix Fietkau nbd at nbd.name
Wed Apr 3 03:57:15 PDT 2024


On 20.03.24 12:09, Shayne Chen wrote:
> From: Henry Yen <henry.yen at mediatek.com>
> 
> It's observed that host driver might occasionally receive
> interrupts from unexpected Rx ring, whose Rx NAPI hasn't been
> prepared yet. Under such situation, __napi_poll crash issue
> would occur, so we add a sanity check to prevent it.
> 
> Without this patch, we might encounter kernel crash issue
> especially in WED-on & RRO-on software path.

Does this issue occur even with Lorenzo's fix "wifi: mt76: mt7996: fix 
uninitialized variable in mt7996_irq_tasklet()"?

- Felix



More information about the Linux-mediatek mailing list