net/smc: no new connections on disappearing devices
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 9 Oct 2019 08:07:46 +0000 (10:07 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 10 Oct 2019 02:45:44 +0000 (19:45 -0700)
commitc3d9494e68c4a5d23227ede822fda9bd68bef8e3
tree640a13f101e2cbd834dcb1bccf9529b374436ff9
parentb3cb53c05f20c5b4026a36a7bbd3010d1f3e0a55
net/smc: no new connections on disappearing devices

Add a "going_away" indication to ISM devices and IB ports and
avoid creation of new connections on such disappearing devices.

And do not handle ISM events if ISM device is disappearing.

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>
include/net/smc.h
net/smc/smc_core.c
net/smc/smc_ib.c
net/smc/smc_ib.h
net/smc/smc_ism.c
net/smc/smc_pnet.c