]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: improve close of terminated socket
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 9 Oct 2019 08:07:47 +0000 (10:07 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 10 Oct 2019 02:45:44 +0000 (19:45 -0700)
commitf93edea630552e181a7afd6d65e6383233c3564e
tree5a80d7a788657bad4b1f2d79335703c381abb2fc
parent8fa408cc868ed210b008dda49f60e9c2b8801539
net/smc: improve close of terminated socket

Make sure a terminated SMC socket reaches the CLOSED state.
Even if sending of close flags fails, change the socket state to
the intended state to avoid dangling sockets not reaching the
CLOSED state.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/smc/smc_close.c