net/smc: check connections in smc_lgr_free_work
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 12 Feb 2019 15:29:54 +0000 (16:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 16:59:45 +0000 (11:59 -0500)
commite78b2622266ce962b18efad8f29acdc6052db010
tree431987a9a014630d7efae77073ebedd979429144
parentcf0cfe535845cf60830e1482f7e618d80140e8d9
net/smc: check connections in smc_lgr_free_work

Remove the shortcut that smc_lgr_free() would skip the check for
existing connections when the link group is not in the link group list.

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