Files
android_kernel_xiaomi_sm8450/drivers/net/wireless/ath/ath10k
Dan Carpenter 539b44e70c ath10k: fixup extended per sta tx statistics
I had a couple concerns with this code.  First, we definitely need to
set the error code if the kzalloc() fails.  Secondly, I was worried that
if we didn't set "arsta->tx_stats" to NULL after freeing it, then it
looks to me like it might lead to a use after free.  I can't test that,
but it's harmless to set it to NULL so I did.

Fixes: a904417fc8 ("ath10k: add extended per sta tx statistics support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-11-05 13:09:58 +02:00
..
2016-01-28 10:47:28 +02:00
2018-10-13 20:31:47 +03:00
2018-09-06 19:15:17 +03:00
2018-10-01 16:57:18 +03:00
2017-02-14 19:38:15 +02:00
2018-09-06 19:15:26 +03:00
2017-12-27 12:22:01 +02:00
2017-12-27 12:22:01 +02:00
2017-12-27 12:22:01 +02:00
2017-12-27 12:22:01 +02:00
2014-09-11 23:42:36 +03:00
2017-12-27 12:22:01 +02:00
2017-12-27 12:22:01 +02:00
2017-12-27 12:22:01 +02:00
2017-08-03 14:31:01 +03:00
2017-12-27 12:22:01 +02:00