netfilter: nf_tables: fix ifdef to also consider nf_tables=m
authorFlorian Westphal <fw@strlen.de>
Mon, 17 Apr 2023 08:21:36 +0000 (10:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Apr 2023 12:28:33 +0000 (14:28 +0200)
commit9387a515cbc37a73e4e015f0fa48f256e0bbb02e
treee54d3a6712a9a7800f89390b19cea1b32dbb820d
parent6a4029f4f91f22f526a2c481b4addb84b3fd2547
netfilter: nf_tables: fix ifdef to also consider nf_tables=m

[ Upstream commit c55c0e91c813589dc55bea6bf9a9fbfaa10ae41d ]

nftables can be built as a module, so fix the preprocessor conditional
accordingly.

Fixes: 478b360a47b7 ("netfilter: nf_tables: fix nf_trace always-on with XT_TRACE=n")
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/skbuff.h