net/ipv6: Remove fib6_idev

fib6_idev can be obtained from __in6_dev_get on the nexthop device
rather than caching it in the fib6_info. Remove it.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Ahern
2018-04-18 15:39:05 -07:00
committed by David S. Miller
parent 647d4c1363
commit dcd1f57295
3 changed files with 47 additions and 22 deletions

View File

@@ -147,7 +147,6 @@ struct fib6_info {
unsigned int fib6_nsiblings;
atomic_t fib6_ref;
struct inet6_dev *fib6_idev;
unsigned long expires;
struct dst_metrics *fib6_metrics;
#define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1]