Re: [PATCH net] net/smc: Make sure the link_id is unique

From: Karsten Graul
Date: Mon Nov 15 2021 - 08:36:05 EST


On 15/11/2021 10:45, Wen Gu wrote:
> The link_id is supposed to be unique, but smcr_next_link_id() doesn't
> skip the used link_id as expected. So the patch fixes this.
>
> Fixes: 026c381fb477 ("net/smc: introduce link_idx for link group array")
> Signed-off-by: Wen Gu <guwen@xxxxxxxxxxxxxxxxx>
> Reviewed-by: Tony Lu <tonylu@xxxxxxxxxxxxxxxxx>
> ---

Thank you.

Acked-by: Karsten Graul <kgraul@xxxxxxxxxxxxx>