From: Pablo Neira Ayuso Date: Sun, 29 Mar 2009 20:46:01 +0000 (-0700) Subject: netfilter: xtables: fix IPv6 dependency in the cluster match X-Git-Tag: v2.6.30-rc1~602^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=424b86a6bc9459a830e1e94e0e908f3ac1716b7e;p=pandora-kernel.git 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: Steven Noonan Reported-by: Randy Dunlap Reported-by: Cyrill Gorcunov Signed-off-by: Pablo Neira Ayuso Signed-off-by: David S. Miller --- Reading git-diff-tree failed