diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-10 20:20:30 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:35 +0200 |
| commit | 0679982f51fcad6895b9844c2828d9cc2dbce9b7 (patch) | |
| tree | 2c21ea4fd7925829adb273575ee51826de4c6269 /tools/perf/scripts/python | |
| parent | 8d7961d2851975a3f1f9cd6aab9dbbc5be91144a (diff) | |
netfilter: nft_exthdr: check for IPv6 packet before further processing
[ Upstream commit cdd73cc545c0fb9b1a1f7b209f4f536e7990cff4 ]
ipv6_find_hdr() does not validate that this is an IPv6 packet. Add a
sanity check for calling ipv6_find_hdr() to make sure an IPv6 packet
is passed for parsing.
Fixes: 96518518cc41 ("netfilter: add nftables")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
