diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-03-20 02:06:47 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-25 17:31:59 +0300 |
commit | 9b9674f3e73a2be9a702d65b77fdac279590a009 (patch) | |
tree | 94b4989102a2219e54751a05746b47ecae47d3b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ec8de7544778a329484b6aead305b7549aa9beaa (diff) | |
download | linux-9b9674f3e73a2be9a702d65b77fdac279590a009.tar.xz |
nexthop: Split nh_check_attr_group().
We will push RTNL down to rtm_new_nexthop(), and then we
want to move non-RTNL operations out of the scope.
nh_check_attr_group() validates NHA_GROUP attributes, and
nexthop_find_by_id() and some validation requires RTNL.
Let's factorise such parts as nh_check_attr_group_rtnl()
and call it from rtm_to_nh_config_rtnl().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250319230743.65267-3-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions