netfilter: nft_ct: reject direction for ct id
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Feb 2024 13:59:24 +0000 (14:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2024 18:10:51 +0000 (19:10 +0100)
commit28c5407cd2e4550377a5092ab97f451588fd2ca4
tree4c93260c0a985dd8f60b0efa84e9e486178f2e48
parentcd9bd10c59e3c1446680514fd3097c5b00d3712d
netfilter: nft_ct: reject direction for ct id

[ Upstream commit 38ed1c7062ada30d7c11e7a7acc749bf27aa14aa ]

Direction attribute is ignored, reject it in case this ever needs to be
supported

Fixes: 3087c3f7c23b ("netfilter: nft_ct: Add ct id support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nft_ct.c