diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-07-01 08:22:14 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-03 16:22:11 +0200 |
| commit | 6d728e7e286b8537422ab5b0ea1f9af9ce7b5794 (patch) | |
| tree | 0b7c5c657aaa4cca7afd6a84b034e660124624ea /tools/perf/scripts/python/task-analyzer.py | |
| parent | ed37710d6c672561c3309dab4b86d0f18c8534ff (diff) | |
macvlan: no longer rely on RTNL in macvlan_fill_info()
Add READ_ONCE()/WRITE_ONCE() annotations on vlan->mode, vlan->flags,
vlan->bc_queue_len_req and port->bc_cutoff.
Fill IFLA_MACVLAN_MACADDR_DATA nested attribute and compute
on the fly the precise number of elements we put in it,
to fill an accurate IFLA_MACVLAN_MACADDR_COUNT attribute
as some user space applications could depend on its value
and the attributes order.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260701082214.2974946-3-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
