netfilter: nf_conncount: fix wrong variable type

[ Upstream commit 0b88d1654d ]

Now there is a issue is that code checks reports a warning: implicit
narrowing conversion from type 'unsigned int' to small type 'u8' (the
'keylen' variable). Fix it by removing the 'keylen' variable.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Yunjian Wang 2024-05-31 11:48:47 +08:00 • committed by Greg Kroah-Hartman
commit 8d63b70d2f