]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Notify user of established connection after QP in RTS
authorHenry Orosco <henry.orosco@intel.com>
Tue, 21 Nov 2017 22:18:34 +0000 (16:18 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 1 Dec 2017 19:21:26 +0000 (12:21 -0700)
commit9c41bdd8e7d2d7b0a1c6e7699c4f10914570a236
tree7959ab1835e5d466cb97318039fa36b82dbe5e03
parentfa82014023cdb2b1b7dd30e345f0283e0320ad7f
i40iw: Notify user of established connection after QP in RTS

Established CM event is sent prior to modifying QP to RTS state.
This can result in application closing the connection before the
QP is actually in RTS state. Move sending of established CM
event to after modify QP to RTS.

Fixes: 11419b4d0754 ("i40iw: add connection management code")
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c