Files
kernel_google_wahoo/net/ipv6
Jeremy Sowden 9358d6076e netfilter: ip6_tables: zero-initialize fragment offset
[ Upstream commit 310e2d43c3ad429c1fba4b175806cf1f55ed73a6 ]

ip6tables only sets the `IP6T_F_PROTO` flag on a rule if a protocol is
specified (`-p tcp`, for example).  However, if the flag is not set,
`ip6_packet_match` doesn't call `ipv6_find_hdr` for the skb, in which
case the fragment offset is left uninitialized and a garbage value is
passed to each matcher.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-17 10:04:44 +02:00
..
2020-05-20 08:11:41 +02:00
2015-10-08 04:27:03 -07:00
2021-06-03 08:22:08 +02:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2020-05-10 10:26:23 +02:00
2020-05-10 10:26:23 +02:00