summaryrefslogtreecommitdiff
path: root/net/mpls/internal.h
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@nvidia.com>2021-11-29 15:15:06 +0900
committerDavid S. Miller <davem@davemloft.net>2021-11-29 12:39:42 +0000
commit189168181bb67825a14e8083d1503cfdc2891ebf (patch)
tree96b6dc373dff3160365417a5d37d01b41ede7326 /net/mpls/internal.h
parent7d4741eacdefa5f0475431645b56baf00784df1f (diff)
net: mpls: Remove rcu protection from nh_dev
Following the previous commit, nh_dev can no longer be accessed and modified concurrently. Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/internal.h')
-rw-r--r--net/mpls/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/internal.h b/net/mpls/internal.h
index 838cdfc10e47..893df00b77b6 100644
--- a/net/mpls/internal.h
+++ b/net/mpls/internal.h
@@ -87,7 +87,7 @@ enum mpls_payload_type {
};
struct mpls_nh { /* next hop label forwarding entry */
- struct net_device __rcu *nh_dev;
+ struct net_device *nh_dev;
/* nh_flags is accessed under RCU in the packet path; it is
* modified handling netdev events with rtnl lock held