Re: [PATCH] staging: lustre: o2iblnd: fix race at kiblnd_connect_peer
From: Greg Kroah-Hartman
Date: Wed Mar 14 2018 - 07:57:13 EST
On Fri, Mar 09, 2018 at 02:49:18AM -0500, Doug Oucharek wrote:
> From: Alexander Boyko <alexander.boyko@xxxxxxxxxxx>
>
> 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 <alexander.boyko@xxxxxxxxxxx>
> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-10015
> Reviewed-by: Alexey Lyashkov <c17817@xxxxxxxx>
> Reviewed-by: Doug Oucharek <dougso@xxxxxx>
> Reviewed-by: John L. Hammond <john.hammond@xxxxxxxxx>
> Signed-off-by: Doug Oucharek <dougso@xxxxxx>
Your email address here does not match the From: line :(
Please fix up and resend...
thanks,
greg k-h