summaryrefslogtreecommitdiff
path: root/net/mpls/internal.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-11-29 12:39:42 +0000
committerDavid S. Miller <davem@davemloft.net>2021-11-29 12:39:42 +0000
commitef56b64001625c84e80ff7e061ccb0f28e606abb (patch)
tree96b6dc373dff3160365417a5d37d01b41ede7326 /net/mpls/internal.h
parent817b653160db9852d5a0498a31f047e18ce27e5b (diff)
parent189168181bb67825a14e8083d1503cfdc2891ebf (diff)
Merge branch 'mpls-notifications'
Benjamin Poirier says: ==================== net: mpls: Netlink notification fixes fix missing or inaccurate route notifications when devices used in nexthops are deleted. ==================== 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