Commit 979ca21a authored by Florian Westphal's avatar Florian Westphal Committed by openeuler-sync-bot
Browse files

netfilter: nf_tables: fix ifdef to also consider nf_tables=m

stable inclusion
from stable-v5.10.179
commit 381110d061926f738d3220feb5580f1f1409cbd7
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8C809

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=381110d061926f738d3220feb5580f1f1409cbd7



--------------------------------

[ Upstream commit c55c0e91 ]

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

Fixes: 478b360a ("netfilter: nf_tables: fix nf_trace always-on with XT_TRACE=n")
Reported-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reported-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit beb05f1b)
parent 7680a73e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment