On Sun, Apr 24, 2022 at 04:01:03PM +0800, Cheng Xu wrote: > The calling of siw_cm_upcall and detaching new_cep with its > listen_cep should be atomistic semantics. Otherwise siw_reject > may be called in a temporary state, e,g, siw_cm_upcall is called > but the new_cep->listen_cep has not being cleared. > > This will generate a WARN in dmesg, which reported in: > https://lore.kernel.org/all/Yliu2ROIh0nLk5l0@xxxxxxxxxxxxxxxxxxxxxx/ > > Reported-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> > Signed-off-by: Cheng Xu <chengyou@xxxxxxxxxxxxxxxxx> > --- > drivers/infiniband/sw/siw/siw_cm.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) Applied to for-rc, thanks Jason