diff options
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 364e2440a7ee..e27d1c782f32 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -2726,6 +2726,13 @@ static inline void nf_reset(struct sk_buff *skb) | |||
2726 | #endif | 2726 | #endif |
2727 | } | 2727 | } |
2728 | 2728 | ||
2729 | static inline void nf_reset_trace(struct sk_buff *skb) | ||
2730 | { | ||
2731 | #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) | ||
2732 | skb->nf_trace = 0; | ||
2733 | #endif | ||
2734 | } | ||
2735 | |||
2729 | /* Note: This doesn't put any conntrack and bridge info in dst. */ | 2736 | /* Note: This doesn't put any conntrack and bridge info in dst. */ |
2730 | static inline void __nf_copy(struct sk_buff *dst, const struct sk_buff *src) | 2737 | static inline void __nf_copy(struct sk_buff *dst, const struct sk_buff *src) |
2731 | { | 2738 | { |