From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46881 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbeCNMZL (ORCPT ); Wed, 14 Mar 2018 08:25:11 -0400 Date: Wed, 14 Mar 2018 14:25:08 +0200 From: Ido Schimmel To: David Ahern Cc: netdev@vger.kernel.org Subject: Re: [PATCH v4 net-next 3/6] net/ipv6: Add l3mdev check to ipv6_chk_addr_and_flags Message-ID: <20180314122508.GC20522@splinter> References: <20180313152941.31218-1-dsahern@gmail.com> <20180313152941.31218-4-dsahern@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180313152941.31218-4-dsahern@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Mar 13, 2018 at 08:29:38AM -0700, David Ahern wrote: > Lookup the L3 master device for the passed in device. Only consider > addresses on netdev's with the same master device. If the device is > not enslaved or is NULL, then the l3mdev is NULL which means only > devices not enslaved (ie, in the default domain) are considered. > > Signed-off-by: David Ahern Reviewed-by: Ido Schimmel Thanks for working on this. I also encountered this problem when working on the selftests, but didn't have an immediate use case which required me to use a non-linklocal address as a gateway.