On 1/28/21 5:49 AM, Petr Machata wrote:
The values that a next-hop group needs to keep track of depend on the group
type. Introduce a union to separate fields specific to the mpath groups
from fields specific to other group types.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
---
include/net/nexthop.h | 7 ++++++-
net/ipv4/nexthop.c | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
Reviewed-by: David Ahern <dsahern@kernel.org>