summaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_mirred.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-06 17:30:39 -0800
committerJakub Kicinski <kuba@kernel.org>2021-12-07 20:45:00 -0800
commitada066b2e02cad7934e86e51985078d707c64250 (patch)
tree62ddcbfde13a450ec264dabd0328b2bbb9aecac7 /include/net/tc_act/tc_mirred.h
parente7c8ab8419d7a06bad7cb0b0289b5426029ac221 (diff)
net: sched: act_mirred: add net device refcount tracker
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/tc_act/tc_mirred.h')
-rw-r--r--include/net/tc_act/tc_mirred.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_mirred.h b/include/net/tc_act/tc_mirred.h
index 1cace4c69e44..32ce8ea36950 100644
--- a/include/net/tc_act/tc_mirred.h
+++ b/include/net/tc_act/tc_mirred.h
@@ -10,6 +10,7 @@ struct tcf_mirred {
int tcfm_eaction;
bool tcfm_mac_header_xmit;
struct net_device __rcu *tcfm_dev;
+ netdevice_tracker tcfm_dev_tracker;
struct list_head tcfm_list;
};
#define to_mirred(a) ((struct tcf_mirred *)a)