summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2025-10-29 17:32:57 +0000
committerJakub Kicinski <kuba@kernel.org>2025-11-03 17:40:47 -0800
commitbc7ebc569e8cc768342dfb01af1a26c7fbef513e (patch)
tree9a1075bcaac24e992d9c5b9462b1ae67e95c493f /scripts
parentd8f9581e1b7f1fe2e1ac985f4ea508d044c90733 (diff)
mpls: Use in6_dev_rcu() and dev_net_rcu() in mpls_forward() and mpls_xmit().
mpls_forward() and mpls_xmit() are called under RCU. Let's use in6_dev_rcu() and dev_net_rcu() there to annotate as such. Now we pass net to mpls_stats_inc_outucastpkts() not to read dev_net_rcu() twice. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by: Guillaume Nault <gnault@redhat.com> Link: https://patch.msgid.link/20251029173344.2934622-6-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions