Re: [PATCH net v5 1/2] octeon_ep: Implement helper for iterating packets in Rx queue
From: Jacob Keller
Date: Thu Oct 17 2024 - 14:09:17 EST
On 10/17/2024 3:06 AM, Aleksandr Mishin wrote:
> The common code with some packet and index manipulations is extracted and
> moved to newly implemented helper to make the code more readable and avoid
> duplication. This is a preparation for skb allocation failure handling.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Suggested-by: Simon Horman <horms@xxxxxxxxxx>
> Suggested-by: Paolo Abeni <pabeni@xxxxxxxxxx>
> Signed-off-by: Aleksandr Mishin <amishin@xxxxxxxxxx>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>