Re: [PATCH v3 2/2] netfilter: xt_addrtype: ipv6 support

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

 



Florian Westphal <fw@xxxxxxxxx> wrote:
> Patrick McHardy <kaber@xxxxxxxxx> wrote:
> > > +		rt = rt6_lookup(net, addr, NULL, ifindex, !!dev);
> > 
> > Florian, I just noticed that this will pull in the IPv6 module just
> > by loading the xt_addrtype module.
> 
> Yes...
> 
> > Can we convert this to use
> > nf_ip6_afinfo->route() instead?
> 
> I agree that it would be much nicer, thanks for the
> suggestion.
> 
> I'll look into this on Saturday.

Regardless if this works or not, we'd also
need to find an alternative to ipv6_addr_type, no?

One possibility would be to revert the xt_addrinfo patch
and add an ip6t_addrtype module instead, I think the involved
code duplication would be rlow in this case.
--
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