summaryrefslogtreecommitdiff
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-05 07:22:08 +0300
committerJakub Kicinski <kuba@kernel.org>2021-12-07 03:05:11 +0300
commit77a23b1f954381d7999ce069d3fc8658eb6a9bbc (patch)
tree5ffc96ff36963cfef49166c232cfc9f64bbdd2fa /include/net/neighbour.h
parent85662c9f8cbd4c96088ff99f56bc3d1097d0ac07 (diff)
downloadlinux-77a23b1f954381d7999ce069d3fc8658eb6a9bbc.tar.xz
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[];