Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Simon Horman
Wed, 07 Oct 2026 14:44
Re: [PATCH net] sfc: handle rhashtable walk errors in mport lookup
Author: Simon Horman
Date: Wed, 07 Oct 2026 14:44
Date: Wed, 07 Oct 2026 14:44
19 lines
6162 bytes
6162 bytes
On Fri, Oct 02, 2026 at 07:47:40PM +0000, Sang-Hoon Choi wrote:
> rhashtable_walk_next() can return ERR_PTR(-EAGAIN) when the table is
> resized. efx_mae_lookup_mport() currently dereferences that value as an
> mport descriptor.
>
> Skip error values and continue the walk, as the other rhashtable walkers
> in this driver already do.
>
> Fixes: 5227adff37af ("sfc: add mport lookup based on driver's mport data")
> Reported-by: Changyul Lee <lcy8047@gmail.com>
> Assisted-by: LLM
> Signed-off-by: Sang-Hoon Choi <csh0052@gmail.com>
> ---
> Compile-tested the affected object with x86_64 allmodconfig
> and W=1 (GCC 13.3.0). Base: mainline 3b7cab693ba2bab63774bf5b988e8a61b2ef0f32.
> No hardware testing or runtime failure reproduction was performed.
Reviewed-by: Simon Horman <horms@kernel.org>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads