diff options
author | 2019-12-23 15:03:22 +0100 | |
---|---|---|
committer | 2019-12-24 22:41:06 -0800 | |
commit | 5b6c7b55cfe26224b0f41b1c226d3534c542787f (patch) | |
tree | 3440a4437bf66e84c21bed330d54f2ed7bbce104 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/qeth: fix qdio teardown after early init error (diff) | |
download | wireguard-linux-5b6c7b55cfe26224b0f41b1c226d3534c542787f.tar.xz wireguard-linux-5b6c7b55cfe26224b0f41b1c226d3534c542787f.zip |
s390/qeth: lock the card while changing its hsuid
qeth_l3_dev_hsuid_store() initially checks the card state, but doesn't
take the conf_mutex to ensure that the card stays in this state while
being reconfigured.
Rework the code to take this lock, and drop a redundant state check in a
helper function.
Fixes: b333293058aa ("qeth: add support for af_iucv HiperSockets transport")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions