diff options
author | 2022-10-27 16:01:33 +0200 | |
---|---|---|
committer | 2022-11-02 09:48:11 +0100 | |
commit | 39e7b5de9853bd92ddbfa4b14165babacd7da0ba (patch) | |
tree | 551b87c3b4833eabdbf6900f7ef0397af23471fb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | wifi: mac80211: fix general-protection-fault in ieee80211_subif_start_xmit() (diff) | |
download | wireguard-linux-39e7b5de9853bd92ddbfa4b14165babacd7da0ba.tar.xz wireguard-linux-39e7b5de9853bd92ddbfa4b14165babacd7da0ba.zip |
wifi: mac80211: Fix ack frame idr leak when mesh has no route
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions