net/smc: handle all error codes from smc_conn_create()
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 15 May 2018 15:05:00 +0000 (17:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 15:49:19 +0000 (11:49 -0400)
commit1401ea045b96ae1112bf384e6f03f909643f04be
treeddf485de33dfff75f144a10e25d0d9d93f20f31b
parent2a4c57a9e731fa7bd20b028ca078a0ab0ec2485e
net/smc: handle all error codes from smc_conn_create()

Always set a reason_code when smc_conn_create() returns an error code.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c