-----"Stefan Metzmacher" <metze@xxxxxxxxx> wrote: ----- >To: "Bernard Metzler" <bmt@xxxxxxxxxxxxxx> >From: "Stefan Metzmacher" <metze@xxxxxxxxx> >Date: 05/07/2021 01:38AM >Cc: linux-rdma@xxxxxxxxxxxxxxx, "Stefan Metzmacher" <metze@xxxxxxxxx> >Subject: [EXTERNAL] [PATCH 08/31] rdma/siw: use >__siw_cep_terminate_upcall() for indirect SIW_CM_WORK_CLOSE_LLP > >Both code paths from siw_qp_cm_drop() should use the same logic. > >Fixes: 6c52fdc244b5 ("rdma/siw: connection management") >Signed-off-by: Stefan Metzmacher <metze@xxxxxxxxx> >Cc: Bernard Metzler <bmt@xxxxxxxxxxxxxx> >Cc: linux-rdma@xxxxxxxxxxxxxxx >--- > drivers/infiniband/sw/siw/siw_cm.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/drivers/infiniband/sw/siw/siw_cm.c >b/drivers/infiniband/sw/siw/siw_cm.c >index c91a74271b9b..b7e7f637bd03 100644 >--- a/drivers/infiniband/sw/siw/siw_cm.c >+++ b/drivers/infiniband/sw/siw/siw_cm.c >@@ -1071,11 +1071,7 @@ static void siw_cm_work_handler(struct >work_struct *w) > /* > * QP scheduled LLP close > */ >- if (cep->qp && cep->qp->term_info.valid) >- siw_send_terminate(cep->qp); >- leave that there. >- if (cep->cm_id) >- siw_cm_upcall(cep, IW_CM_EVENT_CLOSE, 0); >+ __siw_cep_terminate_upcall(cep, -EINVAL); > > release_cep = 1; > break; >-- >2.25.1 > >