All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Drivers: hv: vmbus: Don't leak memory when a channel is rescinde
@ 2017-03-27  9:33 Dexuan Cui
  2017-03-28 15:02 ` Rolf Neugebauer
  0 siblings, 1 reply; 2+ messages in thread
From: Dexuan Cui @ 2017-03-27  9:33 UTC (permalink / raw)
  To: stable
  Cc: KY Srinivasan, olaf, apw, vkuznets, jasowang, leann.ogasawara,
	marcelo.cerri, Rolf Neugebauer

Hi, Can you please help to backport the patch to the stable tree?

Tn Linus's tree, the patch's commit ID is:
5e030d5ce9d99a899b648413139ff65bab12b038

As described in the its changelog, it fixes a memory leak issue, which
affects VMBus users like the hv_sock driver. Rolf (in Cc) reported that the
memory can be eaten up quickly with hv_sock press test.

The patch only needs to be applied to the 4.10 and 4.9 branches, whose
latest versions are v4.10.6 and v4.9.18, respectively.

Thanks,
-- Dexuan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Drivers: hv: vmbus: Don't leak memory when a channel is rescinde
  2017-03-27  9:33 [PATCH] Drivers: hv: vmbus: Don't leak memory when a channel is rescinde Dexuan Cui
@ 2017-03-28 15:02 ` Rolf Neugebauer
  0 siblings, 0 replies; 2+ messages in thread
From: Rolf Neugebauer @ 2017-03-28 15:02 UTC (permalink / raw)
  To: Dexuan Cui
  Cc: stable, KY Srinivasan, olaf, apw, vkuznets, jasowang,
	leann.ogasawara, marcelo.cerri, Rolf Neugebauer

On Mon, Mar 27, 2017 at 10:33 AM, Dexuan Cui <decui@microsoft.com> wrote:
> Hi, Can you please help to backport the patch to the stable tree?
>
> Tn Linus's tree, the patch's commit ID is:
> 5e030d5ce9d99a899b648413139ff65bab12b038
>
> As described in the its changelog, it fixes a memory leak issue, which
> affects VMBus users like the hv_sock driver. Rolf (in Cc) reported that the
> memory can be eaten up quickly with hv_sock press test.
>
> The patch only needs to be applied to the 4.10 and 4.9 branches, whose
> latest versions are v4.10.6 and v4.9.18, respectively.

Thanks Dexuan.

I can confirm that 5e030d5ce9d99a899b64 ("Drivers: hv: vmbus: Don't
leak memory when a channel is rescinded") fixes a memory leak with the
hv_sock driver which was introduced with 4.9.14 with
ccb61f8a99e6c29df4fb96a65dad4fad740d5be9 ("Drivers: hv:
vmbus: Fix a rescind handling bug") and in v4.10.2 onwards with
ec6f27bd19e0f9142c71d293d4c3b381348550b  ("Drivers: hv:
vmbus: Fix a rescind handling bug").

I've tested both a 4.9.18 and 4.10.6 kernel with  5e030d5ce9d99a899b64
("Drivers: hv: vmbus: Don't leak memory when a channel is rescinded")
applied and can confirm that the memory leak is fixed by this commit.

It would be great to get it included in the next round of stable releases.

Tested-by: Rolf Neugebauer <rolf.neugebauer@docker.com>

Thanks
Rolf


>
> Thanks,
> -- Dexuan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-28 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27  9:33 [PATCH] Drivers: hv: vmbus: Don't leak memory when a channel is rescinde Dexuan Cui
2017-03-28 15:02 ` Rolf Neugebauer

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.