summary refs log tree commit diff
path: root/scripts/Makefile.modsign
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2020-09-10 18:48:26 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-10 15:24:26 -0700
commitf9aab6f2ce5761374daa7a65b006bebe04b5591f (patch)
treef87c20b5de29a3f57837942d557cb935d72b40e2 /scripts/Makefile.modsign
parent0c881ada3d1e7f5fd3d9099efca941ef0c6da363 (diff)
downloadlinux-f9aab6f2ce5761374daa7a65b006bebe04b5591f.tar.gz
net/smc: immediate freeing in smc_lgr_cleanup_early()
smc_lgr_cleanup_early() schedules the free worker with delay. DMB
unregistering occurs in this delayed worker increasing the risk
to reach the SMCD SBA limit without need. Terminate the
linkgroup immediately, since termination means early DMB unregistering.

For SMCD the global smc_server_lgr_pending lock is given up early.
A linkgroup to be given up with smc_lgr_cleanup_early() may already
contain more than one connection. Using __smc_lgr_terminate() in
smc_lgr_cleanup_early() covers this.

And consolidate smc_ism_put_vlan() and smc_put_device() into smc_lgr_free()
only.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.modsign')
0 files changed, 0 insertions, 0 deletions