[PATCH] staging: lustre: o2iblnd: fix race at kiblnd_connect_peer

2018-05-01 Thread Doug Oucharek
From: Doug Oucahrek cmid will be destroyed at OFED if kiblnd_cm_callback return error. if error happen before the end of kiblnd_connect_peer, it will touch destroyed cmid and fail as (o2iblnd_cb.c:1315:kiblnd_connect_peer()) ASSERTION( cmid->device != ((void *)0) ) failed: Signed-off

Re: [PATCH] staging: lustre: o2iblnd: fix race at kiblnd_connect_peer

2018-03-14 Thread Greg Kroah-Hartman
On Fri, Mar 09, 2018 at 02:49:18AM -0500, Doug Oucharek wrote: > From: Alexander Boyko > > cmid will be destroyed at OFED if kiblnd_cm_callback return error. > if error happen before the end of kiblnd_connect_peer, it will touch > destroyed cmid and fail as > (o2iblnd_cb.c:1315:kiblnd_connect_pee

Re: [PATCH] staging: lustre: o2iblnd: fix race at kiblnd_connect_peer

2018-03-09 Thread Doug Oucharek
Please ignore this patch. Turns out it depends on a series which has not been submitted yet. I’ll resend this one once all of those are done. Doug > On Mar 9, 2018, at 3:29 PM, Doug Oucharek wrote: > > cmid will be destroyed at OFED if kiblnd_cm_callback return error. > if error happen befor

[PATCH] staging: lustre: o2iblnd: fix race at kiblnd_connect_peer

2018-03-09 Thread Doug Oucharek
cmid will be destroyed at OFED if kiblnd_cm_callback return error. if error happen before the end of kiblnd_connect_peer, it will touch destroyed cmid and fail as (o2iblnd_cb.c:1315:kiblnd_connect_peer()) ASSERTION( cmid->device != ((void *)0) ) failed: Signed-off-by: Alexander Boyko I