Re: Potential NULL pointer deference in iwlwifi: mvm
From: Johannes Berg
Date: Mon Oct 07 2019 - 15:21:56 EST
On Mon, 2019-10-07 at 12:19 -0700, Yizhuo Zhai wrote:
> Hi All:
>
> drivers/net/wireless/intel/iwlwifi/mvm/scan.c:
>
> Inside function iwl_mvm_power_ps_disabled_iterator(),
> iwl_mvm_vif_from_mac80211()
> could return NULL
No, it can not.
Whatever tool you've used to find this - you should fix it.
johannes