diff options
author | Eric Dumazet <edumazet@google.com> | 2021-12-07 04:30:39 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-08 07:45:00 +0300 |
commit | ada066b2e02cad7934e86e51985078d707c64250 (patch) | |
tree | 62ddcbfde13a450ec264dabd0328b2bbb9aecac7 /include/net/tc_act | |
parent | e7c8ab8419d7a06bad7cb0b0289b5426029ac221 (diff) | |
download | linux-ada066b2e02cad7934e86e51985078d707c64250.tar.xz |
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')
-rw-r--r-- | include/net/tc_act/tc_mirred.h | 1 |
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) |