]> 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)
commit65f4450da41051a9dde2eeb9983ac910def809fb
tree5a80d7a788657bad4b1f2d79335703c381abb2fc
parentab6256afa184227f3e551e8686e7c69bc9c07dbe
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