summaryrefslogtreecommitdiffstats
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-05 05:22:08 +0100
committerJakub Kicinski <kuba@kernel.org>2021-12-07 01:05:11 +0100
commit77a23b1f954381d7999ce069d3fc8658eb6a9bbc (patch)
tree5ffc96ff36963cfef49166c232cfc9f64bbdd2fa /include/net/neighbour.h
parentnet: add net device refcount tracker to struct neighbour (diff)
downloadlinux-77a23b1f954381d7999ce069d3fc8658eb6a9bbc.tar.xz
linux-77a23b1f954381d7999ce069d3fc8658eb6a9bbc.zip
net: add net device refcount tracker to struct pneigh_entry
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 190b07fe089e..5fffb783670a 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -174,6 +174,7 @@ struct pneigh_entry {
struct pneigh_entry *next;
possible_net_t net;
struct net_device *dev;
+ netdevice_tracker dev_tracker;
u32 flags;
u8 protocol;
u8 key[];