summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_qtaguid_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/xt_qtaguid_internal.h')
-rw-r--r--net/netfilter/xt_qtaguid_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/netfilter/xt_qtaguid_internal.h b/net/netfilter/xt_qtaguid_internal.h
index f76270463919..d39ee89a9a2c 100644
--- a/net/netfilter/xt_qtaguid_internal.h
+++ b/net/netfilter/xt_qtaguid_internal.h
@@ -197,6 +197,9 @@ struct iface_stat {
struct list_head list; /* in iface_stat_list */
char *ifname;
bool active;
+ /* net_dev is only valid for active iface_stat */
+ struct net_device *net_dev;
+
struct byte_packet_counters totals[IFS_MAX_DIRECTIONS];
/*
* We keep the last_known, because some devices reset their counters