From: wangweidong Date: Thu, 29 May 2014 02:15:30 +0000 (+0800) Subject: bridge: fix the unbalanced promiscuous count when add_if failed X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019ee792d7861fde33e6c2331a8b32a2b975e865;p=pandora-kernel.git bridge: fix the unbalanced promiscuous count when add_if failed 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 Reviewed-by: Amos Kong Acked-by: Vlad Yasevich Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed