]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: wow: fix size access error of probe request
authorChin-Yen Lee <timlee@realtek.com>
Wed, 28 Jul 2021 01:43:35 +0000 (09:43 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 19:19:15 +0000 (22:19 +0300)
commitfa14686986531c534451e6c5fb02f2cb755f16d6
tree2eca361e60dd8a879e217601b4bad4b6a8bc74ee
parent26cfb2aa20f24a3a64ae9881e010ff04b912e900
rtw88: wow: fix size access error of probe request

Current flow will lead to null ptr access because of trying
to get the size of freed probe-request packets. We store the
information of packet size into rsvd page instead and also fix
the size error issue, which will cause unstable behavoir of
sending probe request by wow firmware.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210728014335.8785-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/fw.c
drivers/net/wireless/realtek/rtw88/fw.h