]> 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)
commitb32a0e4ab1137e5b292240de21c889ff66034e31
tree7959ab1835e5d466cb97318039fa36b82dbe5e03
parentecb6e22186814587d70e25882a1ca0f03f2020e9
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: 476cbc12eac8 ("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