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)
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>

No differences found