]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Call i40iw_cm_disconn on modify QP to disconnect
authorShiraz Saleem <shiraz.saleem@intel.com>
Tue, 19 Sep 2017 14:19:11 +0000 (09:19 -0500)
committerDoug Ledford <dledford@redhat.com>
Fri, 22 Sep 2017 17:43:36 +0000 (13:43 -0400)
commitd52409f833fbff84b07f2c0c4ff28dab12f12bf8
tree551988ed47616b655bc3b1a1f6cc894959bb5e6a
parente03b13d14d4bed31f25d3bc8ad456a7f1c219f1f
i40iw: Call i40iw_cm_disconn on modify QP to disconnect

If QP modify to closing/terminate/error fails, connection is
not torn down as there is no corresponding asynchronous
event that will initiate the teardown.

Add explicit call to i40iw_cm_disconn if not waiting in
modify QP, otherwise schedule it in CM timer.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c