summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-03-20 02:06:49 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-25 17:31:59 +0300
commit53b18aa998b733d91ee4be45619d8e9738aac67c (patch)
tree9621a2161402d67ca015a4bc4d444418393ee249 /tools/perf/scripts/python/export-to-postgresql.py
parentcaa074573ca0a110b609bf35b7fec3d967945315 (diff)
downloadlinux-53b18aa998b733d91ee4be45619d8e9738aac67c.tar.xz
nexthop: Check NLM_F_REPLACE and NHA_ID in rtm_new_nexthop().
nexthop_add() checks if NLM_F_REPLACE is specified without non-zero NHA_ID, which does not require RTNL. Let's move the check to rtm_new_nexthop(). 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-5-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