net/smc: Terminate connections prior to device removal
authorStefan Raspl <raspl@linux.ibm.com>
Mon, 23 Jan 2023 18:17:45 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2023 09:46:48 +0000 (09:46 +0000)
commitc40bff4132e5c1320635ae809d001ccb5598dac6
tree7365fa13e18248b00b796e5c5733a23cc8aab2bc
parentd0671115869d19ec76d658c4bf86d3211a8ea121
net/smc: Terminate connections prior to device removal

Removing an ISM device prior to terminating its associated connections
doesn't end well.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Jan Karcher <jaka@linux.ibm.com>
Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_ism.c