diff options
| author | Eric Dumazet <[email protected]> | 2024-02-13 06:32:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-14 11:20:13 +0000 |
| commit | 6a2968ee1ee2cc6fce30f6f5724442b34b1483b3 (patch) | |
| tree | 0a41642980c841e40bbcd58ce7b4b1612362aeac /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 328771deab16fcac55763309bb59e28b1c050853 (diff) | |
net: add netdev_set_operstate() helper
dev_base_lock is going away, add netdev_set_operstate() helper
so that hsr does not have to know core internals.
Remove dev_base_lock acquisition from rfc2863_policy()
v3: use an "unsigned int" for dev->operstate,
so that try_cmpxchg() can work on all arches.
( https://lore.kernel.org/oe-kbuild-all/[email protected]/ )
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions