All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net/ipv6: Handle onlink flag with multipath routes
@ 2018-03-13 15:40 David Ahern
  2018-03-13 15:40 ` [PATCH net-next 1/2] " David Ahern
  2018-03-13 15:40 ` [PATCH net-next 2/2] selftests: Add multipath tests for onlink flag David Ahern
  0 siblings, 2 replies; 7+ messages in thread
From: David Ahern @ 2018-03-13 15:40 UTC (permalink / raw)
  To: netdev; +Cc: David Ahern

ONLINK flag is per nexthop. For multipath routes it is specified in rtnh_flags
in struct rtnexthop versus rtm_flags for single path routes. Update
ip6_route_multipath_add to look at rtnh_flags before the call to
ip6_route_info_create.

Add multipath test cases as well.

David Ahern (2):
  net/ipv6: Handle onlink flag with multipath routes
  selftests: Add multipath tests for onlink flag

 net/ipv6/route.c                                |  1 +
 tools/testing/selftests/net/fib-onlink-tests.sh | 92 ++++++++++++++++++++++++-
 2 files changed, 90 insertions(+), 3 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-03-16 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-13 15:40 [PATCH net-next 0/2] net/ipv6: Handle onlink flag with multipath routes David Ahern
2018-03-13 15:40 ` [PATCH net-next 1/2] " David Ahern
2018-03-16 15:40   ` David Miller
2018-03-16 15:45     ` David Ahern
2018-03-16 16:38       ` David Miller
2018-03-16 18:18         ` David Ahern
2018-03-13 15:40 ` [PATCH net-next 2/2] selftests: Add multipath tests for onlink flag David Ahern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.