|
@@ -2725,7 +2725,7 @@ static inline void nf_reset(struct sk_buff *skb)
|
|
|
|
|
|
static inline void nf_reset_trace(struct sk_buff *skb)
|
|
static inline void nf_reset_trace(struct sk_buff *skb)
|
|
{
|
|
{
|
|
-#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE)
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
|
|
skb->nf_trace = 0;
|
|
skb->nf_trace = 0;
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
@@ -2742,6 +2742,9 @@ static inline void __nf_copy(struct sk_buff *dst, const struct sk_buff *src)
|
|
dst->nf_bridge = src->nf_bridge;
|
|
dst->nf_bridge = src->nf_bridge;
|
|
nf_bridge_get(src->nf_bridge);
|
|
nf_bridge_get(src->nf_bridge);
|
|
#endif
|
|
#endif
|
|
|
|
+#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
|
|
|
|
+ dst->nf_trace = src->nf_trace;
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
static inline void nf_copy(struct sk_buff *dst, const struct sk_buff *src)
|
|
static inline void nf_copy(struct sk_buff *dst, const struct sk_buff *src)
|