netfilter: nft_osf: check for TCP packet before further processing
stable inclusion from linux-4.19.198 commit 3225cd78880a15928f8930e3de698a6edca63f42 -------------------------------- [ Upstream commit 8f518d43 ] The osf expression only supports for TCP packets, add a upfront sanity check to skip packet parsing if this is not a TCP packet. Fixes: b96af92d ("netfilter: nf_tables: implement Passive OS fingerprint module in nft_osf") Signed-off-by:Pablo Neira Ayuso <pablo@netfilter.org> Reported-by:
kernel test robot <lkp@intel.com> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment