net/smc: do not reuse a linkgroup with setup problems
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Thu, 25 Jan 2018 10:15:34 +0000 (11:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:10:42 +0000 (16:10 -0500)
commit610db66f377cf99aa07a2b1990727238f2e2d6d3
treedebd8dd0cdd136ceafd56b28be0919c785147e26
parentb4772b3a87b772401e2af1c894fef323fb5c6e7c
net/smc: do not reuse a linkgroup with setup problems

Once a linkgroup is created successfully, it stays alive for a
certain time to service more connections potentially created.
If one of the initialization steps for a new linkgroup fails,
the linkgroup should not be reused by other connections following.

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