diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-10-19 13:50:09 +0900 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:22:06 -0800 |
commit | 40aa7b90a9b41a2162c829fd6cd34a09056a7ddb (patch) | |
tree | 398eabbb956a12d80c46b508d18d6e528a89d119 /net/ipv6/fib6_rules.c | |
parent | 33e93c9699981024cc99fb23a0545fb19d23847d (diff) | |
download | linux-3.10-40aa7b90a9b41a2162c829fd6cd34a09056a7ddb.tar.gz linux-3.10-40aa7b90a9b41a2162c829fd6cd34a09056a7ddb.tar.bz2 linux-3.10-40aa7b90a9b41a2162c829fd6cd34a09056a7ddb.zip |
[IPV6] ROUTE: Use &rt->u.dst instead of cast.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/fib6_rules.c')
-rw-r--r-- | net/ipv6/fib6_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c index 8377477b2c1..25804cb69cf 100644 --- a/net/ipv6/fib6_rules.c +++ b/net/ipv6/fib6_rules.c @@ -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; |