From: Florian Westphal <fw@xxxxxxxxx> Date: Thu, 24 Mar 2011 21:29:56 +0100 > 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> -- 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