diff options
author | 2022-08-18 12:33:49 +0800 | |
---|---|---|
committer | 2022-08-25 10:02:57 +0200 | |
commit | 62b03f45c6352410d13bf0710d24ef6290632eb1 (patch) | |
tree | e346560ac43358ab66e9be8c61110284260401c4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: mac80211: always free sta in __sta_info_alloc in case of error (diff) | |
download | linux-dev-62b03f45c6352410d13bf0710d24ef6290632eb1.tar.xz linux-dev-62b03f45c6352410d13bf0710d24ef6290632eb1.zip |
wifi: mac80211: fix possible leak in ieee80211_tx_control_port()
Add missing dev_kfree_skb() in an error path in
ieee80211_tx_control_port() to avoid a memory leak.
Fixes: dd820ed6336a ("wifi: mac80211: return error from control port TX for drops")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220818043349.4168835-1-yangyingliang@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions