netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 21 Aug 2022 14:25:07 +0000 (16:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2022 15:16:41 +0000 (17:16 +0200)
commit530f4bb9ed58ac8cb70d0634a9f21087bb832281
tree58ee857d3f162834506c1260f605111128f499b5
parent6d7ddee503951641f3ec6f0e3269446970bbcdab
netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families

[ Upstream commit 5f3b7aae14a706d0d7da9f9e39def52ff5fc3d39 ]

As it was originally intended, restrict extension to supported families.

Fixes: b96af92d6eaf ("netfilter: nf_tables: implement Passive OS fingerprint module in nft_osf")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nft_osf.c