]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: fib: Set offload indication according to nexthop flags
authorIdo Schimmel <idosch@mellanox.com>
Wed, 2 Aug 2017 07:56:01 +0000 (09:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 00:00:23 +0000 (17:00 -0700)
commita50e5d3f85602b1089d279510f2e18d7a5febff0
tree29118abefab2f1c468cc47554b5abbf318739fc3
parent918355edfadbbcb0d3a9a50363e858f8dadb6364
ipv4: fib: Set offload indication according to nexthop flags

We're going to have capable drivers indicate route offload using the
nexthop flags, but for non-multipath routes these flags aren't dumped to
user space.

Instead, set the offload indication in the route message flags.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c