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>
This commit is contained in:

committed by
Pablo Neira Ayuso

parent
206e8c0075
commit
a4ffe319ae
@@ -5,6 +5,7 @@
|
||||
|
||||
struct tcf_connmark_info {
|
||||
struct tcf_common common;
|
||||
struct net *net;
|
||||
u16 zone;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user