diff options
author | 2024-02-28 13:54:39 +0000 | |
---|---|---|
committer | 2024-03-01 08:42:33 +0000 | |
commit | 2a02f8379bde89472cddb49dc8e55a17e0b68eed (patch) | |
tree | b790be03802a14ad4f106ce7c1f221990b468dd6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipv6/addrconf: annotate data-races around devconf fields (II) (diff) | |
download | wireguard-linux-2a02f8379bde89472cddb49dc8e55a17e0b68eed.tar.xz wireguard-linux-2a02f8379bde89472cddb49dc8e55a17e0b68eed.zip |
ipv6: use xa_array iterator to implement inet6_netconf_dump_devconf()
1) inet6_netconf_dump_devconf() can run under RCU protection
instead of RTNL.
2) properly return 0 at the end of a dump, avoiding an
an extra recvmsg() system call.
3) Do not use inet6_base_seq() anymore, for_each_netdev_dump()
has nice properties. Restarting a GETDEVCONF dump if a device has
been added/removed or if net->ipv6.dev_addr_genid has changed is moot.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions