summaryrefslogtreecommitdiff
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-05 07:22:07 +0300
committerJakub Kicinski <kuba@kernel.org>2021-12-07 03:05:11 +0300
commit85662c9f8cbd4c96088ff99f56bc3d1097d0ac07 (patch)
treec70f1beeddfc25e4f8302d8338c208336a01ab3e /include/net/neighbour.h
parent56c1c77948ba3576df1c387cefcf3bab93600822 (diff)
downloadlinux-85662c9f8cbd4c96088ff99f56bc3d1097d0ac07.tar.xz
net: add net device refcount tracker to struct neighbour
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/neighbour.h')
-rw-r--r--include/net/neighbour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 55af812c3ed5..190b07fe089e 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -158,6 +158,7 @@ struct neighbour {
struct list_head managed_list;
struct rcu_head rcu;
struct net_device *dev;
+ netdevice_tracker dev_tracker;
u8 primary_key[0];
} __randomize_layout;