]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: increase device refcount for added link group
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 9 Oct 2019 08:07:45 +0000 (10:07 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 10 Oct 2019 02:45:44 +0000 (19:45 -0700)
commitb33776349474de667cfb52f188c18fea3c8d640c
tree20736356809171f81a0ba9b03b314730e1fa268e
parent5b73547609a46be57a568226f7bec2cdc32b5261
net/smc: increase device refcount for added link group

SMCD link groups belong to certain ISM-devices and SMCR link group
links belong to certain IB-devices. Increase the refcount for
these devices, as long as corresponding link groups exist.

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_core.c