diff options
author | Ziyang Xuan <william.xuanziyang@huawei.com> | 2022-03-11 12:04:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-14 13:06:54 +0300 |
commit | 1f4a5983d623d6dbda4cc7587a2d9d798e0d4035 (patch) | |
tree | 016666de92847148d489058102bdd5023d62869b /include/linux/if_macvlan.h | |
parent | 291ac68478d95cb2b897915da3dc13c6e86d2218 (diff) | |
download | linux-1f4a5983d623d6dbda4cc7587a2d9d798e0d4035.tar.xz |
net: macvlan: add net device refcount tracker
Add net device refcount tracker to macvlan.
Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_macvlan.h')
-rw-r--r-- | include/linux/if_macvlan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_macvlan.h b/include/linux/if_macvlan.h index 10c94a3936ca..b42294739063 100644 --- a/include/linux/if_macvlan.h +++ b/include/linux/if_macvlan.h @@ -21,6 +21,7 @@ struct macvlan_dev { struct hlist_node hlist; struct macvlan_port *port; struct net_device *lowerdev; + netdevice_tracker dev_tracker; void *accel_priv; struct vlan_pcpu_stats __percpu *pcpu_stats; |