From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:43924 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933698AbeCMPkS (ORCPT ); Tue, 13 Mar 2018 11:40:18 -0400 Received: by mail-pf0-f196.google.com with SMTP id j2so6890pff.10 for ; Tue, 13 Mar 2018 08:40:17 -0700 (PDT) From: David Ahern To: netdev@vger.kernel.org Cc: David Ahern Subject: [PATCH net-next 0/2] net/ipv6: Handle onlink flag with multipath routes Date: Tue, 13 Mar 2018 08:40:08 -0700 Message-Id: <20180313154010.31623-1-dsahern@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: 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