net/smc: free link group without pending free_work only
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Wed, 14 Mar 2018 10:01:01 +0000 (11:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Mar 2018 17:40:44 +0000 (13:40 -0400)
commit268ffcc4ebfc8b10c1502357dfb82ce6af0770ac
tree10632783df5be2c7eb73c0d2e73dda49bafab625
parentc9f4c6cf53bfafb639386a4c094929f13f573e04
net/smc: free link group without pending free_work only

Make sure there is no pending or running free_work worker for the link
group when freeing the link group.

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