Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp892745ybh; Wed, 18 Mar 2020 11:03:04 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuA/8o3KoBCbQnkmCw6gIJvt1Gq8HHMyS9BMP7BpQSTJEkO6IWAQ0AEmL7IlAjwuvRzbxuK X-Received: by 2002:a54:4891:: with SMTP id r17mr4186674oic.170.1584554584261; Wed, 18 Mar 2020 11:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584554584; cv=none; d=google.com; s=arc-20160816; b=uQ65/ebF1XUJFK6zOCSnEewaEiUg6phT+viNn0aA8wp8+XAeuadVAms3JfCmMB7CbJ M6u/79UvTx5KQ/8bXIBMWR9HB0OVCpSOVBuE+YgRUpKjfSrmY9biwJobogCVqqhWchp6 LcGzuNB5oZ7FlZ1QH35UvvvpmiKtWfDOo2mDVTZcpbhDHxk/Qk2eOxxP2zBM5/8G0tHH M5KMkviWPY4kGyCcF8lGiU1aOgpdUAKqe8WXOirD+pyY/XSoRXdl4E2DuL+JshCcDReM P+KhmDHejkGE4W/Vfnl3/DtWZ3BIRryPyM3TmV+LOvzZz8R5Rn1Bg8da8bbHiRYr7+es ZoPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=9X7tDrmUL0L//7N8M2i92Ik51zKFFPsFFM40oxZGF0U=; b=POqAdVOH6m/p6UJOZEEpkxXfxSRBWELehv0xJUBT1t8WN4xQOgHQkGKXvVXsEFYW1R a4xT7aWuCXUJFrvGxE5i7xFqLh4BGu3jS7WI0cbmv7vefnbM0fOC1zzLXGySjEulVZsy gBtMjl75144oxMGElDZxBo6LSwCL3T2SJ8Jv4a59AtFezxTDDgTzF+qSAeqiUBB6De0U VpcvaVyjp3ZbEGCXBLskADlL4NTiVd1xmlXezLae9KYwwiYBMoKsevNNgIoPjvgziXNC UuCpUM57Hw0rKWQDPQgtro7mp12g8u3Pt9dwy7BssRy09nYXoW3o2gAsTLiHDwoLmTCg rhzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="HXz2X7B/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si3997911otk.127.2020.03.18.11.02.48; Wed, 18 Mar 2020 11:03:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="HXz2X7B/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbgCRSCK (ORCPT + 99 others); Wed, 18 Mar 2020 14:02:10 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40408 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbgCRSCK (ORCPT ); Wed, 18 Mar 2020 14:02:10 -0400 Received: by mail-pg1-f193.google.com with SMTP id t24so14105447pgj.7; Wed, 18 Mar 2020 11:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9X7tDrmUL0L//7N8M2i92Ik51zKFFPsFFM40oxZGF0U=; b=HXz2X7B/GeGwgkG0XWRn8Bjf8YZUjh9/2lnZ6gFpCKc5VvEfx3dtQfm1BVjYRtJT3l C+v2PnoLKGVTXWB3Jqq6ZmzVzUr8adya2B3iYNPy4CUlbSt8KmkXnE0EK/XLES1cUbzR avMzO49dt87P2JFhASIqHSWDIuNp3HalGpEo373pXd7EEivTUojCNMdSUSaMwsDowxuF tp8+UqFk+cCxRN4+bz09t1yqlChMnkOuVvjC1HsoEUpyZ2crjaqRGsYb8iNoXepbCdNG /VOc7950xI1cTFaiwsWG1zCUKdoqpR020f8LQ9KMQXrUJ9sT2fcYpgmpKLnc9qNoTQHX TwuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9X7tDrmUL0L//7N8M2i92Ik51zKFFPsFFM40oxZGF0U=; b=LdqptBPkYmy+QMisu6QzZPyeFNufCY2xUyV1jfFvo32CHGkDs1KIpfD9iF2Zl2E4c0 8abHjlVczlewQX2GNuE/xQRLlY3u/lYKc15p9MpYnJqOu9w/K3wfpLyNrr98Bq3em6En qSBnnarO6hoAYUahuStvemBK6Nk+fk18x7oJaPeke45Fg5RZ1Ly6teN5ACeGUYegLy// WUv7eXkCdcoG8NWFG57ObMSIWTTUbi1HSCKf7WMSEAGelLnibhyCf4MKj5kMR0crst/C d/2Z4EC0dj2ncvfWU+5LD8uu45tMCFiXe5qFMqzCl2mx0eQAcRPqzpb7bXbFj6hEVooV kNfw== X-Gm-Message-State: ANhLgQ2KYdC2KOuv0X5R+VZadyU6LvXn92aaxEeBWjQZFamN3Km0lAeA 23GtFegbCdUeC6TsNd1lpDvD2Uaw X-Received: by 2002:aa7:9790:: with SMTP id o16mr5607556pfp.322.1584554524630; Wed, 18 Mar 2020 11:02:04 -0700 (PDT) Received: from [192.168.86.235] (c-73-241-150-58.hsd1.ca.comcast.net. [73.241.150.58]) by smtp.gmail.com with ESMTPSA id z11sm7119471pfa.149.2020.03.18.11.02.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Mar 2020 11:02:03 -0700 (PDT) Subject: Re: [PATCH net] ipv6: don't auto-add link-local address to lag ports To: Jarod Wilson , linux-kernel@vger.kernel.org Cc: Moshe Levi , Marcelo Ricardo Leitner , netdev@vger.kernel.org References: <20200318140605.45273-1-jarod@redhat.com> From: Eric Dumazet Message-ID: <8a88d1c8-c6b1-ad85-7971-e6ae8c6fa0e4@gmail.com> Date: Wed, 18 Mar 2020 11:02:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200318140605.45273-1-jarod@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/18/20 7:06 AM, Jarod Wilson wrote: > Bonding slave and team port devices should not have link-local addresses > automatically added to them, as it can interfere with openvswitch being > able to properly add tc ingress. > > Reported-by: Moshe Levi > CC: Marcelo Ricardo Leitner > CC: netdev@vger.kernel.org > Signed-off-by: Jarod Wilson This does not look a net candidate to me, unless the bug has been added recently ? The absence of Fixes: tag is a red flag for a net submission. By adding a Fixes: tag, you are doing us a favor, please. Thanks. > --- > net/ipv6/addrconf.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c > index 46d614b611db..aed891695084 100644 > --- a/net/ipv6/addrconf.c > +++ b/net/ipv6/addrconf.c > @@ -3296,6 +3296,10 @@ static void addrconf_addr_gen(struct inet6_dev *idev, bool prefix_route) > if (netif_is_l3_master(idev->dev)) > return; > > + /* no link local addresses on bond slave or team port devices */ > + if (netif_is_lag_port(idev->dev)) > + return; > + > ipv6_addr_set(&addr, htonl(0xFE800000), 0, 0, 0); > > switch (idev->cnf.addr_gen_mode) { >