On Thu, 29 Oct 2026 16:54:52 +0000
Chen Zhao <[email protected]> wrote:
> rte_realloc() failure overwrites event_buf and leaks the old allocation.
> Use a temporary pointer and update event_buf and event_sz only on success,
> preserving the existing buffer and size on failure.
>
> Fixes: 1f2766b7ee02 ("net/netvsc: resize event buffer as needed")
> Cc: [email protected]
> Signed-off-by: Chen Zhao <[email protected]>
> ---
Updated the version in next-net.
Note, this is a real corner case. If rte_realloc() failed the application
is going to be failing anyway. It means malloc pool (ie hugepages) exhausted.