diff options
author | Veerendranath Jakkam <quic_vjakkam@quicinc.com> | 2024-09-04 16:20:21 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-09-06 12:55:43 +0200 |
commit | f54a1baee098170b13b624ca5ed2afdb4d29edbc (patch) | |
tree | eb229853b14b24bd5af394c922a4697397aa0d49 /mm/swap.c | |
parent | wifi: cfg80211: fix UBSAN noise in cfg80211_wext_siwscan() (diff) | |
download | linux-f54a1baee098170b13b624ca5ed2afdb4d29edbc.tar.xz linux-f54a1baee098170b13b624ca5ed2afdb4d29edbc.zip |
wifi: cfg80211: Avoid RCU debug splat in __cfg80211_bss_update error paths
Replace rcu_dereference() with rcu_access_pointer() since we already
hold the lock and own the 'tmp' at this point. This is needed to avoid
suspicious rcu_dereference_check warnings in__cfg80211_bss_update error
paths.
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://patch.msgid.link/20240904142021.3887360-1-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions