]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67cc2504b5b38d3d39ba80921ae457e7c8d2af53
treedebd8dd0cdd136ceafd56b28be0919c785147e26
parent30c3bc9c6574bf882dcec3a0f3d8a1c8572a2d8c
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