netfilter: nft_redir: correct value of inet type `.maxattrs`
stable inclusion from stable-v5.10.176 commit 0fac20b1806b211fc38fa8778208bc1cad7a5df1 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I87BGI Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0fac20b1806b211fc38fa8778208bc1cad7a5df1 -------------------------------- [ Upstream commit 49392451 ] `nft_redir_inet_type.maxattrs` was being set, presumably because of a cut-and-paste error, to `NFTA_MASQ_MAX`, instead of `NFTA_REDIR_MAX`. Fixes: 63ce3940 ("netfilter: nft_redir: add inet support") Signed-off-by:Jeremy Sowden <jeremy@azazel.net> Reviewed-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment