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:42 -0700
committerPaolo Abeni <pabeni@redhat.com>2025-04-24 09:29:55 +0200
commit4cb4861d8c3b3b4da478573dc6c03899b526bf08 (patch)
treeb5675f78c310fd26547a1d57b9bbb72002c7ecc7 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'net-mlx5-hws-improve-ip-version-handling' (diff)
downloadwireguard-linux-4cb4861d8c3b3b4da478573dc6c03899b526bf08.tar.xz
wireguard-linux-4cb4861d8c3b3b4da478573dc6c03899b526bf08.zip
ipv6: Validate RTA_GATEWAY of RTA_MULTIPATH in rtm_to_fib6_config().
We will perform RTM_NEWROUTE and RTM_DELROUTE under RCU, and then we want to perform some validation out of the RCU scope. When creating / removing an IPv6 route with RTA_MULTIPATH, inet6_rtm_newroute() / inet6_rtm_delroute() validates RTA_GATEWAY in each multipath entry. Let's do that in rtm_to_fib6_config(). Note that now RTM_DELROUTE returns an error for RTA_MULTIPATH with 0 entries, which was accepted but should result in -EINVAL as RTM_NEWROUTE. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20250418000443.43734-2-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