]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netfilter: xtables: fix IPv6 dependency in the cluster match
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 29 Mar 2009 20:46:01 +0000 (13:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2009 20:46:01 +0000 (13:46 -0700)
commit424b86a6bc9459a830e1e94e0e908f3ac1716b7e
treefc845e4bf6eebca37d2bbf8844d656fd3303527a
parent13223cb02ccfa375f2d683d08d30db5b72264f1e
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 <steven@uplinklabs.net>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Reported-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_cluster.c