Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2959915ima; Mon, 22 Oct 2018 20:24:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV63TOYiNLClIvqU84bzOROGCCm89/6Ds2xZwkLORP1yIuGWfpk7BreiF74Aq3MsUdSnJyTDW X-Received: by 2002:a62:388b:: with SMTP id f133-v6mr985831pfa.48.1540265041832; Mon, 22 Oct 2018 20:24:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540265041; cv=none; d=google.com; s=arc-20160816; b=lxexjhR7kC155NcJ5Pza+YPPL3XkyQstkfqMLbBdkKpT4WA2ix8uKcB/sLT+CHVFp4 WWjzRlnHwjlqn10HheVR206VXABWAwq8eRcjFyXXcRtYj/wAEluZzKLmP+VoJTiC8StP T905rwg0ok8e9gbEkCu0Y1kG+t2hWv116tMpBzkjEANnvV72pyK6NnjDnDFG6r03RbRV qvVHQcDCv/V9SLDd/tkPVpQgt6chIOhV6VQYQxF0nQbzI8VJlfgGZcbs/plUn500WKHH XBbpkcaJhxua6hvVNwqqvDxHnrhqL+HEgM/GBzCZGogM1Fym5U69W7D3T3u7zVGkDHNO aIHg== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=3W/yFcFUf5N02Awyp9jNu8JYNgq2T5E1SHOiiaZAgGg=; b=Yz7rqkVErYIsK5Y0LhbOxSbhg0Ej7mtvmF73fXdE7XtXc0cTSxc4GxZrfv1QBn/cJj jZu9rtlrnBN6Hx431epFKr/cFGElLDMUHkjGwC7inshhXuwyFcoQf3SldQmh05sSBBRw i5/3Sy5NawTszEFfEFMJUjt2xFAQBkHY8V+7EjJBswwTMDWF/HqemWJ+tIkyU6bvXR1U CWp1J/gA8ugDVQDTqjWrG2u5pgteDipdU3Gq1lBIySXXKrmXgOc3IX944B9vjkkOysJh Z6kmcJPH+W/m1hs7ce2gbWwMLnDcuic1XxfWh4TURQbbYD9BSG3Bamel7OScIxCz9lRf XFZw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24-v6si36495957pgn.428.2018.10.22.20.23.46; Mon, 22 Oct 2018 20:24:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727201AbeJWLmL (ORCPT + 99 others); Tue, 23 Oct 2018 07:42:11 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:40290 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726764AbeJWLmK (ORCPT ); Tue, 23 Oct 2018 07:42:10 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::cf9]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id CFD1A146CD3E9; Mon, 22 Oct 2018 20:20:47 -0700 (PDT) Date: Mon, 22 Oct 2018 20:20:47 -0700 (PDT) Message-Id: <20181022.202047.2168925005944098472.davem@davemloft.net> To: ivan.khoronzhuk@linaro.org Cc: grygorii.strashko@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net-next] net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode From: David Miller In-Reply-To: <20181022185136.8215-1-ivan.khoronzhuk@linaro.org> References: <20181022185136.8215-1-ivan.khoronzhuk@linaro.org> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 22 Oct 2018 20:20:48 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ivan Khoronzhuk Date: Mon, 22 Oct 2018 21:51:36 +0300 > After flushing all mcast entries from the table, the ones contained in > mc list of ndev are not restored when promisc mode is toggled off, > because they are considered as synched with ALE, thus, in order to > restore them after promisc mode - reset syncing info. This fix > touches only switch mode devices, including single port boards > like Beagle Bone. > > Fixes: commit 5da1948969bc > ("net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update") > > Signed-off-by: Ivan Khoronzhuk Applied.