Skip to contentSkip to conversation

Patch "virtio-net: fix leaking of ctx array" has been added to the 4.12-stable tree

PATCH [email protected] 1 participant 1 message Jul 17, 2017

Subsystems (3)
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

virtio-net: fix leaking of ctx array

to the 4.12-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:
virtio-net-fix-leaking-of-ctx-array.patch
and it can be found in the queue-4.12 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 foo@baz Mon Jul 17 18:46:41 CEST 2017

From: Jason Wang <[email protected]>
Date: Fri, 7 Jul 2017 19:56:09 +0800
Subject: virtio-net: fix leaking of ctx array

From: Jason Wang <[email protected]>

[ Upstream commit 55281621b6047d2ffb934a0b984ab0cdb1ad1d76 ]

Fixes commit d45b897b11ea ("virtio_net: allow specifying context for rx")
---
 drivers/net/virtio_net.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/virtio_net.c +1 -0
@@ -2221,6 +2221,7 @@ static int virtnet_find_vqs(struct virtn
 	kfree(names);
 	kfree(callbacks);
 	kfree(vqs);
+	kfree(ctx);
 
 	return 0;
 

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

queue-4.12/virtio-net-fix-leaking-of-ctx-array.patch