]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fa408cc868ed210b008dda49f60e9c2b8801539
tree640a13f101e2cbd834dcb1bccf9529b374436ff9
parentb33776349474de667cfb52f188c18fea3c8d640c
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