]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: free skb on error path in ieee80211_beacon_get_ap()
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 5 Aug 2024 14:20:35 +0000 (17:20 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 Aug 2024 15:45:45 +0000 (17:45 +0200)
commit786c5be9ac29a39b6f37f1fdd2ea59d0fe35d525
tree7a8a2eb27397cdf2f7870bf42e490cebd3cff6d0
parent3a84454f5204718ca5b4ad2c1f0bf2031e2403d1
wifi: mac80211: free skb on error path in ieee80211_beacon_get_ap()

In 'ieee80211_beacon_get_ap()', free allocated skb in case of error
returned by 'ieee80211_beacon_protect()'. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20240805142035.227847-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c