diff options
author | Hans Wippel <hwippel@linux.ibm.com> | 2018-05-23 16:38:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-23 22:02:35 +0200 |
commit | b9f227c37071d1115cec791b328b684e2c4ba414 (patch) | |
tree | 4e9aa72c19e959194f004950d1c70c5969550fb7 /net/smc/smc_cdc.h | |
parent | net/smc: return 0 for ioctl calls in states INIT and CLOSED (diff) | |
download | linux-b9f227c37071d1115cec791b328b684e2c4ba414.tar.xz linux-b9f227c37071d1115cec791b328b684e2c4ba414.zip |
net/smc: lock smc_lgr_list in port_terminate()
Currently, smc_port_terminate() is not holding the lock of the lgr list
while it is traversing the list. This patch adds locking to this
function and changes smc_lgr_terminate() accordingly.
Signed-off-by: Hans Wippel <hwippel@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_cdc.h')
0 files changed, 0 insertions, 0 deletions