commit | 493ced1ac47c48bb86d9d4e8e87df8592be85a0e | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Sat Jun 08 14:53:32 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 10 10:44:56 2019 -0700 |
tree | 03302235b6891c86e4e53d8ea7730f6c7135ce65 | |
parent | 2d44234bf9ed45ba1b91e4bcc929ab15f8b6a901 [diff] |
ipv4: Allow routes to use nexthop objects Add support for RTA_NH_ID attribute to allow a user to specify a nexthop id to use with a route. fc_nh_id is added to fib_config to hold the value passed in the RTA_NH_ID attribute. If a nexthop id is given, the gateway, device, encap and multipath attributes can not be set. Update fib_nh_match to check ids on a route delete. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>