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>
This commit is contained in:
Ursula Braun 2018-03-14 11:01:01 +01:00 • committed by David S. Miller
commit 268ffcc4eb
2 changed files with 3 additions and 1 deletions