diff options
author | David Ahern <dsahern@gmail.com> | 2018-02-14 14:24:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-15 15:41:42 -0500 |
commit | 68e813aa43071377b698c662bc0214f2a833bcbb (patch) | |
tree | d6c7a143f673e72e527660d3b8b1c1005366f52e /drivers/net/vrf.c | |
parent | 45b3a37627219c06d0542abeb8075ad3851fbb6e (diff) | |
download | linux-68e813aa43071377b698c662bc0214f2a833bcbb.tar.gz linux-68e813aa43071377b698c662bc0214f2a833bcbb.tar.bz2 linux-68e813aa43071377b698c662bc0214f2a833bcbb.zip |
net/ipv4: Remove fib table id from rtable
Remove rt_table_id from rtable. It was added for getroute to return the
table id that was hit in the lookup. With the changes for fibmatch the
table id can be extracted from the fib_info returned in the fib_result
so it no longer needs to be in rtable directly.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vrf.c')
-rw-r--r-- | drivers/net/vrf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index 139c61c8244a..239c78c53e58 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -736,7 +736,6 @@ static int vrf_rtable_create(struct net_device *dev) return -ENOMEM; rth->dst.output = vrf_output; - rth->rt_table_id = vrf->tb_id; rcu_assign_pointer(vrf->rth, rth); |