i40iw: Correctly fail loopback connection if no listener
authorShiraz Saleem <shiraz.saleem@intel.com>
Wed, 30 Nov 2016 21:12:35 +0000 (15:12 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 5 Dec 2016 21:09:43 +0000 (16:09 -0500)
commitbf69f494c337cf3c43d3358ad66642dbde50fe03
tree29cb57d62ed43c40fa477cf9cceec73dca891d0a
parentfd4e906b2e2c04056e8c1773b5b6e06d307239e6
i40iw: Correctly fail loopback connection if no listener

Fail the connect and return the proper error code if a client
is started with local IP address and there is no corresponding
loopback listener.

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