diff options
author | Eric Dumazet <edumazet@google.com> | 2021-12-05 05:22:06 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-07 01:05:11 +0100 |
commit | 56c1c77948ba3576df1c387cefcf3bab93600822 (patch) | |
tree | aadb3bfc6d72bc68503183db5351dd9cc3949e77 /include/net/ip6_tunnel.h | |
parent | sit: add net device refcount tracking to ip_tunnel (diff) | |
download | linux-56c1c77948ba3576df1c387cefcf3bab93600822.tar.xz linux-56c1c77948ba3576df1c387cefcf3bab93600822.zip |
ipv6: add net device refcount tracker to struct ip6_tnl
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/ip6_tunnel.h')
-rw-r--r-- | include/net/ip6_tunnel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip6_tunnel.h b/include/net/ip6_tunnel.h index 028eaea1c854..a38c4f1e4e5c 100644 --- a/include/net/ip6_tunnel.h +++ b/include/net/ip6_tunnel.h @@ -46,6 +46,7 @@ struct __ip6_tnl_parm { struct ip6_tnl { struct ip6_tnl __rcu *next; /* next tunnel in list */ struct net_device *dev; /* virtual device associated with tunnel */ + netdevice_tracker dev_tracker; struct net *net; /* netns for packet i/o */ struct __ip6_tnl_parm parms; /* tunnel configuration parameters */ struct flowi fl; /* flowi template for xmit */ |