From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:57580 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbeCVQkj (ORCPT ); Thu, 22 Mar 2018 12:40:39 -0400 Date: Thu, 22 Mar 2018 12:40:38 -0400 (EDT) Message-Id: <20180322.124038.485987673025634432.davem@davemloft.net> To: dsahern@gmail.com Cc: netdev@vger.kernel.org Subject: Re: [PATCH v3 net] net/ipv6: Handle onlink flag with multipath routes From: David Miller In-Reply-To: <20180320170659.31625-1-dsahern@gmail.com> References: <20180320170659.31625-1-dsahern@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: From: David Ahern Date: Tue, 20 Mar 2018 10:06:59 -0700 > For multipath routes the ONLINK flag can be specified per nexthop in > rtnh_flags or globally in rtm_flags. Update ip6_route_multipath_add > to consider the ONLINK setting coming from rtnh_flags. Each loop over > nexthops the config for the sibling route is initialized to the global > config and then per nexthop settings overlayed. The flag is 'or'ed into > fib6_config to handle the ONLINK flag coming from either rtm_flags or > rtnh_flags. > > Fixes: fc1e64e1092f ("net/ipv6: Add support for onlink flag") > Signed-off-by: David Ahern Applied, thanks David.