Re: [PATCH] netfilter: conditionally use ct and ctinfo

From: Florian Westphal
Date: Mon Mar 07 2022 - 07:47:25 EST


trix@xxxxxxxxxx <trix@xxxxxxxxxx> wrote:
> From: Tom Rix <trix@xxxxxxxxxx>
>
> The setting ct and ctinfo are controlled by
> CONF_NF_CONNTRACK. So their use should also
> be controlled.

Any reason for this change?

We try to avoid ifdef where possible, unless it avoids a compiler
warning/build/linker issue.

This doesn't change generated code for me (NF_CONNTRACK=n) either.