projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdea1f9
)
dm stats: fix a leaked s->histogram_boundaries array
author
Mikulas Patocka
<mpatocka@redhat.com>
Wed, 15 Feb 2017 17:06:19 +0000
(12:06 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 05:37:26 +0000
(06:37 +0100)
commit
6085831883c25860264721df15f05bbded45e2a2
upstream.
Fixes: dfcfac3e4cd9 ("dm stats: collect and report histogram of IO latencies")
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-stats.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-stats.c
b/drivers/md/dm-stats.c
index 8289804ccd998a1d4d9be9fce2a32bd4bfa6cad8..d5ea9f28ae70c62f16c440d2c537d759a8917b42 100644
(file)
--- a/
drivers/md/dm-stats.c
+++ b/
drivers/md/dm-stats.c
@@
-175,6
+175,7
@@
static void dm_stat_free(struct rcu_head *head)
int cpu;
struct dm_stat *s = container_of(head, struct dm_stat, rcu_head);
+ kfree(s->histogram_boundaries);
kfree(s->program_id);
kfree(s->aux_data);
for_each_possible_cpu(cpu) {