commit | b9f227c37071d1115cec791b328b684e2c4ba414 | [log] [tgz] |
---|---|---|
author | Hans Wippel <hwippel@linux.ibm.com> | Wed May 23 16:38:10 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 23 16:02:35 2018 -0400 |
tree | 4e9aa72c19e959194f004950d1c70c5969550fb7 | |
parent | 2351abe6f8736167a187cec867933bc66c3284c0 [diff] |
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>