Re: [PATCH net] vxlan: Remove access to nexthop group struct

2020-06-10 Thread David Miller
From: David Ahern Date: Tue, 9 Jun 2020 17:27:28 -0600 > vxlan driver should be using helpers to access nexthop struct > internals. Remove open check if whether nexthop is multipath in > favor of the existing nexthop_is_multipath helper. Add a new > helper, nexthop_has_v4, to cover the need to c

[PATCH net] vxlan: Remove access to nexthop group struct

2020-06-09 Thread David Ahern
vxlan driver should be using helpers to access nexthop struct internals. Remove open check if whether nexthop is multipath in favor of the existing nexthop_is_multipath helper. Add a new helper, nexthop_has_v4, to cover the need to check has_v4 in a group. Fixes: 1274e1cc4226 ("vxlan: ecmp support