All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch "virtio-net: fix leaking of ctx array" has been added to the 4.12-stable tree
@ 2017-07-17 16:52 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-07-17 16:52 UTC (permalink / raw)
  To: jasowang, davem, gregkh, mst; +Cc: stable, stable-commits


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 <stable@vger.kernel.org> know about it.


>From foo@baz Mon Jul 17 18:46:41 CEST 2017
From: Jason Wang <jasowang@redhat.com>
Date: Fri, 7 Jul 2017 19:56:09 +0800
Subject: virtio-net: fix leaking of ctx array

From: Jason Wang <jasowang@redhat.com>


[ Upstream commit 55281621b6047d2ffb934a0b984ab0cdb1ad1d76 ]

Fixes: commit d45b897b11ea ("virtio_net: allow specifying context for rx")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/net/virtio_net.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -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 jasowang@redhat.com are

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-17 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17 16:52 Patch "virtio-net: fix leaking of ctx array" has been added to the 4.12-stable tree gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.