summaryrefslogtreecommitdiff
path: root/include/net/ax25.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-06 17:30:33 -0800
committerJakub Kicinski <kuba@kernel.org>2021-12-07 20:44:59 -0800
commit66ce07f7802b68616a008d390f2e6783d68fb79f (patch)
tree942ab16704e03d64c74144cc87b599a044a45ced /include/net/ax25.h
parente44b14ebae1025cff3bef2d78a2e2f6869cefca0 (diff)
ax25: add net device refcount tracker
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/ax25.h')
-rw-r--r--include/net/ax25.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h
index 03d409de61ad..526e49589197 100644
--- a/include/net/ax25.h
+++ b/include/net/ax25.h
@@ -229,7 +229,10 @@ struct ctl_table;
typedef struct ax25_dev {
struct ax25_dev *next;
+
struct net_device *dev;
+ netdevice_tracker dev_tracker;
+
struct net_device *forward;
struct ctl_table_header *sysheader;
int values[AX25_MAX_VALUES];