summaryrefslogtreecommitdiff
path: root/scripts/include
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2025-10-29 17:33:01 +0000
committerJakub Kicinski <kuba@kernel.org>2025-11-03 17:40:50 -0800
commit3a49629335a523341d3fae895435d5217341a022 (patch)
tree3f9e0d1c864ee2fdd82a39306d3f706674eb605c /scripts/include
parent73e40539399101667945ed8b8299d0fa67a4fca2 (diff)
mpls: Use mpls_route_input() where appropriate.
In many places, we uses rtnl_dereference() twice for net->mpls.platform_label and net->mpls.platform_label[index]. Let's replace the code with mpls_route_input(). We do not use mpls_route_input() in mpls_dump_routes() since we will rely on RCU there. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by: Guillaume Nault <gnault@redhat.com> Link: https://patch.msgid.link/20251029173344.2934622-10-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/include')
0 files changed, 0 insertions, 0 deletions