Commit a9f0064
wifi: rtw89: fix leak in rtw89_core_send_nullfunc()
If there is no rtwsta_link found in rtw89_core_send_nullfunc(), allocated
skb is leaked. Free it on the error handling path.
Found by Linux Verification Center (linuxtesting.org).
Fixes: a8ba4ac ("wifi: rtw89: send nullfunc based on the given link")
Signed-off-by: Fedor Pchelkin <[email protected]>
Acked-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent c24248e commit a9f0064
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3961 | 3961 | | |
3962 | 3962 | | |
3963 | 3963 | | |
| 3964 | + | |
3964 | 3965 | | |
3965 | 3966 | | |
3966 | 3967 | | |
| |||
0 commit comments