|
@@ -141,9 +141,12 @@ static struct mr6_table *ip6mr_get_table(struct net *net, u32 id)
|
|
|
static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6,
|
|
|
struct mr6_table **mrt)
|
|
|
{
|
|
|
- struct ip6mr_result res;
|
|
|
- struct fib_lookup_arg arg = { .result = &res, };
|
|
|
int err;
|
|
|
+ struct ip6mr_result res;
|
|
|
+ struct fib_lookup_arg arg = {
|
|
|
+ .result = &res,
|
|
|
+ .flags = FIB_LOOKUP_NOREF,
|
|
|
+ };
|
|
|
|
|
|
err = fib_rules_lookup(net->ipv6.mr6_rules_ops,
|
|
|
flowi6_to_flowi(flp6), 0, &arg);
|