Commit 547432e
wifi: rtw89: fix leak in rtw89_core_send_nullfunc()
[ Upstream commit a9f0064 ]
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]
Signed-off-by: Sasha Levin <[email protected]>1 parent 2c9876a commit 547432e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3456 | 3456 | | |
3457 | 3457 | | |
3458 | 3458 | | |
| 3459 | + | |
3459 | 3460 | | |
3460 | 3461 | | |
3461 | 3462 | | |
| |||
0 commit comments