Skip to contentSkip to conversation

Patch "dm stats: fix a leaked s->histogram_boundaries array" has been added to the 4.10-stable tree

PATCH [email protected] 1 participant 1 message Mar 8, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

    dm stats: fix a leaked s->histogram_boundaries array

to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
dm-stats-fix-a-leaked-s-histogram_boundaries-array.patch
and it can be found in the queue-4.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 6085831883c25860264721df15f05bbded45e2a2 Mon Sep 17 00:00:00 2001

From: Mikulas Patocka <[email protected]>
Date: Wed, 15 Feb 2017 12:06:19 -0500
Subject: dm stats: fix a leaked s->histogram_boundaries array

From: Mikulas Patocka <[email protected]>

commit 6085831883c25860264721df15f05bbded45e2a2 upstream.

Fixes dfcfac3e4cd9 ("dm stats: collect and report histogram of IO latencies")
---
 drivers/md/dm-stats.c |    1 +
 1 file changed, 1 insertion(+)
drivers/md/dm-stats.c +1 -0
@@ -175,6 +175,7 @@ static void dm_stat_free(struct rcu_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) {

Patches currently in stable-queue which might be from [email protected] are

queue-4.10/dm-stats-fix-a-leaked-s-histogram_boundaries-array.patch