Re: [PATCH net 4/5] hv_netvsc: Remove rmsg_pgcnt

Simon Horman
2025-05-15T10:55:11Z

On Mon, May 12, 2025 at 05:06:03PM -0700, mhkelley58@gmail.com wrote:
> From: Michael Kelley <mhklinux@outlook.com>
>
> init_page_array() now always creates a single page buffer array entry
> for the rndis message, even if the rndis message crosses a page
> boundary. As such, the number of page buffer array entries used for
> the rndis message must no longer be tracked -- it is always just 1.
> Remove the rmsg_pgcnt field and use "1" where the value is needed.
>
> Cc: <stable@vger.kernel.org> # 6.1.x
> Signed-off-by: Michael Kelley <mhklinux@outlook.com>

Reviewed-by: Simon Horman <horms@kernel.org>