diff options
author | 2020-09-15 08:53:50 +0200 | |
---|---|---|
committer | 2020-09-26 15:51:20 +0200 | |
commit | b3bd02495cb339124f13135d51940cf48d83e5cb (patch) | |
tree | 68397d2b7a494f3cc546a242a19c082077b96835 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/pkey: support CCA and EP11 secure ECC private keys (diff) | |
download | wireguard-linux-b3bd02495cb339124f13135d51940cf48d83e5cb.tar.xz wireguard-linux-b3bd02495cb339124f13135d51940cf48d83e5cb.zip |
s390/stp: add locking to sysfs functions
The sysfs function might race with stp_work_fn. To prevent that,
add the required locking. Another issue is that the sysfs functions
are checking the stp_online flag, but this flag just holds the user
setting whether STP is enabled. Add a flag to clock_sync_flag whether
stp_info holds valid data and use that instead.
Cc: stable@vger.kernel.org
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions