wifi: mac80211: fix RCU use in TDLS fast-xmit
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 14:53:48 +0000 (15:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2024 18:10:47 +0000 (19:10 +0100)
commitfc3432ae8232ff4025e7c55012dd88db0e3d18eb
tree1c2354702f5a3f8386d775f3816f250f15d59515
parent7e0ff50131e9d1aa507be8e670d38e9300a5f5bf
wifi: mac80211: fix RCU use in TDLS fast-xmit

[ Upstream commit 9480adfe4e0f0319b9da04b44e4eebd5ad07e0cd ]

This looks up the link under RCU protection, but isn't
guaranteed to actually have protection. Fix that.

Fixes: 8cc07265b691 ("wifi: mac80211: handle TDLS data frames with MLO")
Link: https://msgid.link/20240129155348.8a9c0b1e1d89.I553f96ce953bb41b0b877d592056164dec20d01c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/tx.c