[Bridge] [PATCH net-next] bridge: fix the unbalanced promiscuous count when add_if failed

David Miller davem at davemloft.net
Mon Jun 2 05:05:36 UTC 2014

From: Wang Weidong <wangweidong1 at huawei.com>
Date: Thu, 29 May 2014 10:15:30 +0800

> 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 <wangweidong1 at huawei.com>

Applied, thank you.

More information about the Bridge mailing list