From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 30 May 2014 07:34:46 -0700 From: Stephen Hemminger Message-ID: <20140530073446.14b87673@nehalam.linuxnetplumber.net> In-Reply-To: <53869842.4060202@huawei.com> References: <53869842.4060202@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH net-next] bridge: fix the unbalanced promiscuous count when add_if failed List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wang Weidong Cc: vyasevic@redhat.com, netdev , bridge@lists.linux-foundation.org, David Miller On Thu, 29 May 2014 10:15:30 +0800 Wang Weidong wrote: > As commit 2796d0c648c94("bridge: Automatically manage port > promiscuous mode."), make the add_if use dev_set_allmulti > instead of dev_set_promiscuous, so when add_if failed, we > should do dev_set_allmulti(dev, -1). > > Signed-off-by: Wang Weidong Good catch. Acked-by: Stephen Hemminger