mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 05:06:57 +07:00
a4ffe319ae
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>
16 lines
286 B
C
16 lines
286 B
C
#ifndef __NET_TC_CONNMARK_H
|
|
#define __NET_TC_CONNMARK_H
|
|
|
|
#include <net/act_api.h>
|
|
|
|
struct tcf_connmark_info {
|
|
struct tcf_common common;
|
|
struct net *net;
|
|
u16 zone;
|
|
};
|
|
|
|
#define to_connmark(a) \
|
|
container_of(a->priv, struct tcf_connmark_info, common)
|
|
|
|
#endif /* __NET_TC_CONNMARK_H */
|