summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-18 21:33:03 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-18 21:59:31 +0200
commita4ffe319ae72034e3f3332698a2fd83b6f063b18 (patch)
tree779dcc698d6438487e405a6ccea64dd57cc81afb /include/net/tc_act
parentnetfilter: Pass net to nf_dup_ipv4 and nf_dup_ipv6 (diff)
downloadlinux-a4ffe319ae72034e3f3332698a2fd83b6f063b18.tar.xz
linux-a4ffe319ae72034e3f3332698a2fd83b6f063b18.zip
act_connmark: Remember the struct net instead of guessing it.
Stop guessing the struct net instead of remember it. Guessing is just silly and will be problematic in the future when I implement routes between network namespaces. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/tc_act')
-rw-r--r--include/net/tc_act/tc_connmark.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_connmark.h b/include/net/tc_act/tc_connmark.h
index 5c1104c2e24f..02caa406611b 100644
--- a/include/net/tc_act/tc_connmark.h
+++ b/include/net/tc_act/tc_connmark.h
@@ -5,6 +5,7 @@
struct tcf_connmark_info {
struct tcf_common common;
+ struct net *net;
u16 zone;
};