Whamcloud - gitweb
LU-17325 o2iblnd: CM_EVENT_UNREACHABLE on established conn 98/53298/1
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Thu, 30 Nov 2023 18:55:11 +0000 (10:55 -0800)
committerSerguei Smirnov <ssmirnov@whamcloud.com>
Thu, 30 Nov 2023 18:55:11 +0000 (10:55 -0800)
commitcbde71bf893dba0de752a190c3b16d653ef75085
tree2b52a06adb95446ace558183e5c184948fd42143
parentde352465eb6a02aeb20357208c54e903585e12e3
LU-17325 o2iblnd: CM_EVENT_UNREACHABLE on established conn

There were examples in the field with RoCE setups which demonstrate
that CM_EVENT_UNREACHABLE may be received when connection is already
in ESTABLISHED state. This causes an assert in kiblnd_cm_callback to
fail.

Handle this in a more gracious manner: report the event as unexpected
and allow the flow to continue. If there are indeed issues on
the connection, it is expected to report transaction errors later
and get cleaned up without crashing the whole system.

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: If32166fe9fc59e025609c2035cb1c03d3bed22f2
lnet/klnds/o2iblnd/o2iblnd_cb.c