Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > > Do `kfree_skb(new)` before `goto out` to prevent potential leak. > > Fixes: 895907779752 ("rtw89: 8852a: add ieee80211_ops::hw_scan") > Signed-off-by: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 4a0e218cc9c4 wifi: rtw89: fix potential leak in rtw89_append_probe_req_ie() -- https://patchwork.kernel.org/project/linux-wireless/patch/20230103141054.17372-1-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches