aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-04-17 17:03:44 -0700
committerPaolo Abeni <pabeni@redhat.com>2025-04-24 09:29:55 +0200
commitfa76c1674f2ebafb5cc8ab6fc3a3b0c0d09e9321 (patch)
tree19b208e6742b82475cad75f2f422338eca1d91d6 /tools/perf/scripts/python/export-to-postgresql.py
parentipv6: Get rid of RTNL for SIOCDELRT and RTM_DELROUTE. (diff)
downloadwireguard-linux-fa76c1674f2ebafb5cc8ab6fc3a3b0c0d09e9321.tar.xz
wireguard-linux-fa76c1674f2ebafb5cc8ab6fc3a3b0c0d09e9321.zip
ipv6: Move some validation from ip6_route_info_create() to rtm_to_fib6_config().
ip6_route_info_create() is called from 3 functions: * ip6_route_add() * ip6_route_multipath_add() * addrconf_f6i_alloc() addrconf_f6i_alloc() does not need validation for struct fib6_config in ip6_route_info_create(). ip6_route_multipath_add() calls ip6_route_info_create() for multiple routes with slightly different fib6_config instances, which is copied from the base config passed from userspace. So, we need not validate the same config repeatedly. Let's move such validation into rtm_to_fib6_config(). Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by: Paolo Abeni <pabeni@redhat.com> Link: https://patch.msgid.link/20250418000443.43734-4-kuniyu@amazon.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions