[IPV6] ROUTE: Use &rt->u.dst instead of cast.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
This commit is contained in:

committed by
David S. Miller

parent
33e93c9699
commit
40aa7b90a9
@@ -63,7 +63,7 @@ struct dst_entry *fib6_rule_lookup(struct flowi *fl, int flags,
|
||||
fib_rule_put(arg.rule);
|
||||
|
||||
if (arg.result)
|
||||
return (struct dst_entry *) arg.result;
|
||||
return arg.result;
|
||||
|
||||
dst_hold(&ip6_null_entry.u.dst);
|
||||
return &ip6_null_entry.u.dst;
|
||||
|
Reference in New Issue
Block a user