]> git.baikalelectronics.ru Git - kernel.git/commit
smc: fix mutex unlocks during link group creation
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Wed, 25 Oct 2017 09:01:44 +0000 (11:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Oct 2017 09:00:29 +0000 (18:00 +0900)
commit9af19d654321066e6d18af8b2e11169475b318b2
tree438905204deb710665b659996433dbebbea3f10a
parent3c5ec61dca19f93d59dc2ded9c89fea596e3d337
smc: fix mutex unlocks during link group creation

Link group creation is synchronized with the smc_create_lgr_pending
lock. In smc_listen_work() this mutex is sometimes unlocked, even
though it has not been locked before. This issue will surface in
presence of the SMC rendezvous code.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c