Re: [PATCH] storvsc: fix memory leak on ring buffer busy

From: Stephen Hemminger
Date: Wed Aug 30 2017 - 11:11:13 EST


On Tue, 29 Aug 2017 21:31:11 -0400
"Martin K. Petersen" <martin.petersen@xxxxxxxxxx> wrote:

> Long,
>
> > When storvsc is sending I/O to Hyper-v, it may allocate a bigger
> > buffer descriptor for large data payload that can't fit into a
> > pre-allocated buffer descriptor. This bigger buffer is freed on return
> > path.
> >
> > If I/O request to Hyper-v fails due to ring buffer busy, the storvsc
> > allocated buffer descriptor should also be freed.
>
> Which kernel version is this patch aimed at?
>

Looks like this an old issue. Probably should add

Fixes: be0cf6ca301c ("scsi: storvsc: Set the tablesize based on the information given by the host")