diff options
author | 2023-09-14 15:45:17 +0200 | |
---|---|---|
committer | 2023-09-18 09:36:57 +0200 | |
commit | 2c3dfba4cf84ac4f306cc6653b37b6dd6859ae9d (patch) | |
tree | d2fef1e758292fcf1a28c9f00aa47908db5d1165 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: mac80211: fix mesh id corruption on 32 bit systems (diff) | |
download | wireguard-linux-2c3dfba4cf84ac4f306cc6653b37b6dd6859ae9d.tar.xz wireguard-linux-2c3dfba4cf84ac4f306cc6653b37b6dd6859ae9d.zip |
rfkill: sync before userspace visibility/changes
If userspace quickly opens /dev/rfkill after a new
instance was created, it might see the old state of
the instance from before the sync work runs and may
even _change_ the state, only to have the sync work
change it again.
Fix this by doing the sync inline where needed, not
just for /dev/rfkill but also for sysfs.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions