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 16:02:35 -0400 |
commit | b9f227c37071d1115cec791b328b684e2c4ba414 (patch) | |
tree | 4e9aa72c19e959194f004950d1c70c5969550fb7 /net/smc/smc.h | |
parent | 2351abe6f8736167a187cec867933bc66c3284c0 (diff) | |
download | linux-b9f227c37071d1115cec791b328b684e2c4ba414.tar.bz2 |
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.h')
0 files changed, 0 insertions, 0 deletions