netfilter: xtables: fix IPv6 dependency in the cluster match
This patch fixes a dependency with IPv6: ERROR: "__ipv6_addr_type" [net/netfilter/xt_cluster.ko] undefined! This patch adds a function that checks if the higher bits of the address is 0xFF to identify a multicast address, instead of adding a dependency due to __ipv6_addr_type(). I came up with this idea after Patrick McHardy pointed possible problems with runtime module dependencies. Reported-by: NSteven Noonan <steven@uplinklabs.net> Reported-by: NRandy Dunlap <randy.dunlap@oracle.com> Reported-by: NCyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录