[PATCH wireless] wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change

Kalle Valo kvalo at kernel.org
Tue Aug 13 02:49:03 PDT 2024


Bert Karwatzki <spasswolf at web.de> wrote:

> When disabling wifi mt7921_ipv6_addr_change() is called as a notifier.
> At this point mvif->phy is already NULL so we cannot use it here.
> 
> Signed-off-by: Bert Karwatzki <spasswolf at web.de>
> Signed-off-by: Felix Fietkau <nbd at nbd.name>

Patch applied to wireless.git, thanks.

479ffee68d59 wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240812104542.80760-1-spasswolf@web.de/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the Linux-mediatek mailing list