Re: [PATCH v2 2/2] netfilter: xt_addrtype: ipv6 support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10.03.2011 23:22, Florian Westphal wrote:
> Florian Westphal <fw@xxxxxxxxx> wrote:
>> diff --git a/net/netfilter/xt_addrtype.c b/net/netfilter/xt_addrtype.c
>> index e89c0b8..2220b85 100644
>> --- a/net/netfilter/xt_addrtype.c
>> +++ b/net/netfilter/xt_addrtype.c
> [..]
>> +	if ((XT_ADDRTYPE_LOCAL | XT_ADDRTYPE_ANYCAST |
>> +	     XT_ADDRTYPE_UNREACHABLE) & mask) {
>> +		struct rt6_info *rt;
>> +		u32 type;
>> +		int ifindex = dev ? dev->ifindex : 0;
>> +
>> +		rt = rt6_lookup(net, addr, NULL, ifindex, !!dev);
>> +
> 
> This needs a Kconfig
> 	 depends on (IPV6 || IPV6=n)
> 
> to avoid linker errors for the ipv6=m and xt_addrtype=y case.
> 
> Patrick, I'll refrain from sending v3 for now in case any other changes
> might be needed.
> 
> Please let me know if you want me to send a V3 with the Kconfig change
> only.

Please do, I plan to submit my remaining patches for 2.6.39 tonight.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux