summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>2022-10-27 16:01:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-08 11:18:28 +0100
commit535271c8432f180811bc2845c8a777de104d7395 (patch)
treead8f4677ceedb2ef44a7c179a139d71ce77a1d84 /Kbuild
parentbbd0427fc0241bccb2c56235cbaad9fd63cd615b (diff)
downloadlinux-stable-535271c8432f180811bc2845c8a777de104d7395.tar.gz
linux-stable-535271c8432f180811bc2845c8a777de104d7395.tar.bz2
linux-stable-535271c8432f180811bc2845c8a777de104d7395.zip
wifi: mac80211: Fix ack frame idr leak when mesh has no route
[ Upstream commit 39e7b5de9853bd92ddbfa4b14165babacd7da0ba ] When trying to transmit an data frame with tx_status to a destination that have no route in the mesh, then it is dropped without recrediting the ack_status_frames idr. Once it is exhausted, wpa_supplicant starts failing to do SAE with NL80211_CMD_FRAME and logs "nl80211: Frame command failed". Use ieee80211_free_txskb() instead of kfree_skb() to fix it. Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Link: https://lore.kernel.org/r/20221027140133.1504-1-nicolas.cavallari@green-communications.fr Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions