diff options
author | Kuniyuki Iwashima <[email protected]> | 2022-08-23 10:46:57 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-08-24 13:46:58 +0100 |
commit | a5612ca10d1aa05624ebe72633e0c8c792970833 (patch) | |
tree | c684dfb70112852bc34790fed94b3cb894f52058 /tools/perf/scripts/python/sched-migration.py | |
parent | af67508ea6cbf0e4ea27f8120056fa2efce127dd (diff) |
net: Fix data-races around sysctl_devconf_inherit_init_net.
While reading sysctl_devconf_inherit_init_net, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its readers.
Fixes: 856c395cfa63 ("net: introduce a knob to control whether to inherit devconf config")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions