[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230414150758.4e6e9d81@kernel.org>
Date: Fri, 14 Apr 2023 15:07:58 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Florian Westphal <fw@...len.de>,
Florian Fainelli <f.fainelli@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, pablo@...filter.org
Subject: Re: [PATCH net-next 5/5] net: skbuff: hide nf_trace and
ipvs_property
On Fri, 14 Apr 2023 23:09:50 +0200 Florian Westphal wrote:
> > +#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
> > __u8 nf_trace:1;
>
> As already pointed out nftables can be a module, other than that
I copied it from:
static inline void nf_reset_trace(struct sk_buff *skb)
{
#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
skb->nf_trace = 0;
#endif
}
I can't quite figure out why this would be intentional.
Do the existing conditions need to be fixed? 🤔️
Powered by blists - more mailing lists