]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: conntrack: fix extension size table
authorFlorian Westphal <fw@strlen.de>
Tue, 12 Sep 2023 08:56:07 +0000 (10:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:36 +0000 (14:56 +0200)
commitf5a75b3d31d3a99ec7b7f8809d177d6fd5a81352
treeb8c430e0b91ca2c50a695c5d6ce000909df4cbde
parent09424e88126e254bec6c61ce58de51e67f53c6b7
netfilter: conntrack: fix extension size table

[ Upstream commit 4908d5af16676b9d2901830551c2af911e452524 ]

The size table is incorrect due to copypaste error,
this reserves more size than needed.

TSTAMP reserved 32 instead of 16 bytes.
TIMEOUT reserved 16 instead of 8 bytes.

Fixes: 5f31edc0676b ("netfilter: conntrack: move extension sizes into core")
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>
net/netfilter/nf_conntrack_extend.c