]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita7c6dfe215a7f85c6195f09c1b9474a2ba7fea9c
tree7959ab1835e5d466cb97318039fa36b82dbe5e03
parent8bb45252bb5108485f590a08291d1f4641abc77e
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: f27b4746f378 ("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