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
..
2018-09-06 19:13:58 +03:00
2016-01-28 10:47:28 +02:00
2018-09-06 19:10:05 +03:00
2018-09-06 19:10:05 +03:00
2018-09-06 18:55:22 +03:00
2018-09-06 18:55:22 +03:00
2018-11-05 13:08:15 +02:00
2018-11-05 13:08:15 +02:00
2018-11-05 12:10:55 +02:00
2018-11-05 12:10:55 +02:00
2018-10-13 20:23:56 +03:00
2018-10-13 20:31:47 +03:00
2018-11-05 12:07:12 +02:00
2018-04-19 18:52:51 +03:00
2018-09-06 19:14:37 +03:00
2018-07-02 17:21:37 +03:00
2018-11-05 12:07:12 +02:00
2018-09-06 19:15:17 +03:00
2018-04-19 19:19:28 +03:00
2018-10-01 16:57:18 +03:00
2018-10-02 07:49:09 +03:00
2018-09-06 19:14:08 +03:00
2018-10-13 20:31:56 +03:00
2018-11-05 13:09:58 +02:00
2018-09-03 19:57:03 +03:00
2018-10-13 20:31:56 +03:00
2017-02-14 19:38:15 +02:00
2015-03-07 09:57:42 +02:00
2018-10-13 20:25:49 +03:00
2018-09-06 19:09:44 +03:00
2018-10-13 20:31:05 +03:00
2018-10-13 20:31:05 +03:00
2018-11-05 12:12:15 +02:00
2018-10-13 20:31:56 +03:00
2018-09-06 19:15:26 +03:00
2018-09-06 19:13:58 +03:00
2018-06-28 12:56:05 +03:00
2018-11-05 12:06:15 +02:00
2018-11-05 12:06:15 +02:00
2018-06-14 18:09:45 +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
2018-09-06 18:54:11 +03:00
2017-12-27 12:22:01 +02:00
2018-05-14 16:44:41 +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
2018-03-26 18:13:03 +03:00
2018-09-06 19:14:37 +03:00
2017-12-27 12:22:01 +02:00
2018-09-06 19:13:58 +03:00
2017-08-03 14:31:01 +03:00
2018-10-13 20:18:02 +03:00
2018-11-05 13:08:15 +02:00
2018-11-05 13:08:15 +02:00
2018-11-05 13:08:15 +02:00
2018-11-05 13:08:15 +02:00
2018-10-13 20:18:02 +03:00
2017-12-27 12:22:01 +02:00