Re: [PATCH v2 06/14] NTB: ntb_transport: Clear link state before QP cleanup

From: Logan Gunthorpe

Date: Tue Sep 15 2026 - 15:26:40 EST




On 2026-09-09 22:08, Koichiro Den wrote:
> Cleanup leaves the transport link marked up after releasing its MWs.
> A subsequent client link-up request can therefore start QP link work
> before the transport has been set up again.
>
> Clear link_is_up before cancelling QP work and releasing the MWs.
> Have QP link work return if the transport went down after it was
> queued.
>
> Fixes: e26a5843f7f5 ("NTB: Split ntb_hw_intel and ntb_transport drivers")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Koichiro Den <den@xxxxxxxxxxxxx>

This makes sense to me:

Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>