netfilter: pkttype: unnecessary to check ipv6 multicast address
authorLiping Zhang <zlpnobody@gmail.com>
Sat, 7 Jan 2017 13:33:54 +0000 (21:33 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 18 Jan 2017 19:32:43 +0000 (20:32 +0100)
commit9a6d87626252496311cd122aaa9fbf21ae19e449
tree1f71a32764f460697a222d870e665af415edfdce
parentec23189049651b16dc2ffab35a4371dc1f491aca
netfilter: pkttype: unnecessary to check ipv6 multicast address

Since there's no broadcast address in IPV6, so in ipv6 family, the
PACKET_LOOPBACK must be multicast packets, there's no need to check
it again.

Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_meta.c
net/netfilter/xt_pkttype.c