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

From: Martin K. Petersen
Date: Tue Aug 29 2017 - 21:32:08 EST



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?

--
Martin K. Petersen Oracle Linux Engineering