diff options
author | 2021-11-29 12:39:42 +0000 | |
---|---|---|
committer | 2021-11-29 12:39:42 +0000 | |
commit | ef56b64001625c84e80ff7e061ccb0f28e606abb (patch) | |
tree | 96b6dc373dff3160365417a5d37d01b41ede7326 /net/mpls/internal.h | |
parent | net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if no IRQ is available (diff) | |
parent | net: mpls: Remove rcu protection from nh_dev (diff) | |
download | wireguard-linux-ef56b64001625c84e80ff7e061ccb0f28e606abb.tar.xz wireguard-linux-ef56b64001625c84e80ff7e061ccb0f28e606abb.zip |
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.h | 2 |
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 |