Message ID | 20181031230754.29029-2-sashal@kernel.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp98920ljp; Wed, 31 Oct 2018 16:07:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5eSpBulUMtzEsZhLbCoIGFgB8jo1q51cWJRkveNJRAKSheHZy62tDcPFbclHznLaHDWv33/ X-Received: by 2002:a63:4725:: with SMTP id u37-v6mr4691361pga.95.1541027279214; Wed, 31 Oct 2018 16:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541027279; cv=none; d=google.com; s=arc-20160816; b=vW12JRdSbK2JnG3IWLLM6Z87tHppiW/7MRDQMaATddvXduGFzXtjrx+uVLTf6KSSjL tN5hVE4sjXd2XGNrxi2BKMFHC3vHlLE85Lm4dTKdeIHvYtAIOy41EW/SQALw7WsQRMN2 eCMWtOb+6IdFgSEI4pNEvbBbzxDZXi5WBX/XpSWmmJTp6zEJqbvdTc5ANvEG6Am/ZilQ KTG+yiufq9PJUxAtpS4lNng2FXypng8tiliF6UcvRvcgYEgzkOtOWRo1fa0HFRiGEaq+ qSmkHa7zDu0GKJ+3mLiDNTMbY5t+AFPPbL2o07Q+5Gg3+FRZ8OVOSJtgAD4fCBftwYrf 9ycg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=jSmYbXJhGj1J6Zfm2rSZjeSTcmRpNWlC8J/Tv+np0DY=; b=fcrDRexTTDHIgIsZSYmsZX0OS7BpaM8r3eVwljY1+A2Aplz/je2ZPxbkU1s0dT6HFl Hnrgf7OiiRJJvZ1rsx4uLfYP+9/kFbhmAYQIcWNoRaJX6e38hnwy9KgR81GEjE4fgFU4 AG9STc1dUZNofW6tPY6/DqVBi2hP532+ixgJ1lbKhMzWn+qqs6m8lSjrgxALpJKAbyLf XFC+mo3BzQ0GuPLc0MCEw+mOHKGgzzYAggnj4mjxq26ns6KEid0HxGDpxGR8BP2wHun8 qq2emDmcDKHU5v/wnrrYGYYtzR6zM+rbjtNvatcDFMyXKgFwOsKtukDURJPITlJ1womW qMTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WfIPu+Ly; 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=NONE dis=NONE) header.from=kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10-v6si16961487pfi.222.2018.10.31.16.07.58; Wed, 31 Oct 2018 16:07:59 -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=@kernel.org header.s=default header.b=WfIPu+Ly; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729464AbeKAIII (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Thu, 1 Nov 2018 04:08:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:56674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729434AbeKAIIH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Nov 2018 04:08:07 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5F4F820847; Wed, 31 Oct 2018 23:07:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541027276; bh=bOb7G9T/Cpk8AAJMnHXpjrul5/JQU3tEteF4hdZIVig=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WfIPu+Ly1v2vNmIYdvcWiA0o51D6hAzEA3y4GAVCAoqGPw+ZZZBh/GC8rpOge9pVz 9a2Iv6i3JmIPw5kP2zIsDP3v4d9k1BxpBbu/SGfbU/g7y3GhIxKFPN21GitQITMKWI 7CAlJJBHENYVj6nNZRdojwKX1+P8ZbgxIOqRv84Y= From: Sasha Levin <sashal@kernel.org> To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>, "David S . Miller" <davem@davemloft.net>, Sasha Levin <sashal@kernel.org> Subject: [PATCH AUTOSEL 4.18 002/126] net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode Date: Wed, 31 Oct 2018 19:05:50 -0400 Message-Id: <20181031230754.29029-2-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031230754.29029-1-sashal@kernel.org> References: <20181031230754.29029-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 3e34cb8ac1d3..b3b43ac3c9f3 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -641,6 +641,7 @@ static void cpsw_set_promiscious(struct net_device *ndev, bool enable) /* Clear all mcast from ALE */ cpsw_ale_flush_multicast(ale, ALE_ALL_PORTS, -1); + __dev_mc_unsync(ndev, NULL); /* Flood All Unicast Packets to Host port */ cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1);