Re: [PATCH v2 2/3] netfilter: af_info: add 'strict' parameter to limit lookup to .oif

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

 



On 25.03.2011 00:15, David Miller wrote:
>> > ipv6 fib lookup can set RT6_LOOKUP_F_IFACE flag to restrict search
>> > to an interface, but this flag cannot be set via struct flowi.
>> > 
>> > Also, it cannot be set via ip6_route_output: this function uses the
>> > passed sock struct to determine if this flag is required
>> > (by testing for nonzero sk_bound_dev_if).
>> > 
>> > Work around this by passing in an artificial struct sk in case
>> > 'strict' argument is true.
>> > 
>> > This is required to replace the rt6_lookup call in xt_addrtype.c with
>> > nf_afinfo->route().
>> > 
>> > Signed-off-by: Florian Westphal <fw@xxxxxxxxx>
> Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>

Applied, thanks.
--
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