]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: bridge: Drops IPv6 packets if IPv6 module is not loaded
authorLeonardo Bras <leonardo@linux.ibm.com>
Sat, 31 Aug 2019 04:40:33 +0000 (01:40 -0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 2 Sep 2019 21:19:27 +0000 (23:19 +0200)
commitae6120b2d57a38b2f9236d01c492575547dd63f2
treec17cf7f083d4a90cc4f921cb9daee0f4ade5fc51
parent3b7b11b8f148492b1791c5037184665434cf002a
netfilter: bridge: Drops IPv6 packets if IPv6 module is not loaded

A kernel panic can happen if a host has disabled IPv6 on boot and have to
process guest packets (coming from a bridge) using it's ip6tables.

IPv6 packets need to be dropped if the IPv6 module is not loaded, and the
host ip6tables will be used.

Signed-off-by: Leonardo Bras <leonardo@linux.ibm.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/br_netfilter_hooks.c