Whamcloud - gitweb
LU-11756 o2iblnd: kib_conn leak 28/33828/12
authorAndriy Skulysh <c17819@cray.com>
Wed, 22 Aug 2018 15:11:53 +0000 (18:11 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Apr 2019 03:36:50 +0000 (03:36 +0000)
commita155c3fca38d2a3092f9b5d116ad7877d51d1db1
tree3be9d68a5c49b94ded16e694fc29167b7aa8d41a
parent6d277f126df7605d402255333180b0ca03991613
LU-11756 o2iblnd: kib_conn leak

A new tx can be queued while kiblnd_finalise_conn()
aborts txs. Thus a reference from new tx will
prevent connection from moving into kib_connd_zombies.

Insert new tx after IBLND_CONN_DISCONNECTED into
ibc_zombie_txs list and abort it during
kiblnd_destroy_conn().

Change-Id: Ib92d8d02e6e3f66f7140041a330fc00b7ad44ae3
Cray-bug-id: LUS-6412
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-on: https://review.whamcloud.com/33828
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c