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>
This commit is contained in:
parent
291ac68478
commit
1f4a5983d6
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue