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)
commit145686baab68e9c7594fe9269f47da479c25ad79
tree438905204deb710665b659996433dbebbea3f10a
parent3fc27b71b894f5e2ad611297d5817b6092c96626
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