summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-07 02:30:29 +0100
committerJakub Kicinski <kuba@kernel.org>2021-12-08 05:44:58 +0100
commitb2dcdc7f731dfd8957ee2ca8be6c5d83bd0d95e3 (patch)
tree6181365e97637e8cfabc6137d3754cfc41f5d7e4 /net/bridge/br_private.h
parentvlan: add net device refcount tracker (diff)
downloadlinux-b2dcdc7f731dfd8957ee2ca8be6c5d83bd0d95e3.tar.xz
linux-b2dcdc7f731dfd8957ee2ca8be6c5d83bd0d95e3.zip
net: bridge: add net device refcount tracker
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index c0efd697865a..af2b3512d86c 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -344,6 +344,7 @@ struct net_bridge_mdb_entry {
struct net_bridge_port {
struct net_bridge *br;
struct net_device *dev;
+ netdevice_tracker dev_tracker;
struct list_head list;
unsigned long flags;