diff options
author | Karsten Graul <[email protected]> | 2020-07-20 16:24:28 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-07-20 17:52:25 -0700 |
commit | 2bced6aefa3d0347e11efc610759e1317bfca7a7 (patch) | |
tree | c5e444b1b5fe332f5ad79a8a4e066fb8fcd8e44a /lib/mpi/mpi-bit.c | |
parent | 639f181f0ee20d3249dbc55f740f0167267180f0 (diff) |
net/smc: put slot when connection is killed
To get a send slot smc_wr_tx_get_free_slot() is called, which might
wait for a free slot. When smc_wr_tx_get_free_slot() returns there is a
check if the connection was killed in the meantime. In that case don't
only return an error, but also put back the free slot.
Fixes: b290098092e4 ("net/smc: cancel send and receive for terminated socket")
Reviewed-by: Ursula Braun <[email protected]>
Signed-off-by: Karsten Graul <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions