From: Derrick Pallas Date: Wed, 18 Feb 2015 08:50:25 +0000 (-0800) Subject: ethernet/ixp4xx: prevent allmulti from clobbering promisc X-Git-Tag: omap-for-v4.1/wl12xx-dt~68^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f81edc6ac1e1e2e2cbe98bcd6ef5ebb7afb00807;p=pandora-kernel.git ethernet/ixp4xx: prevent allmulti from clobbering promisc If both promisc and allmulti are set, promisc should trump allmulti and disable the MAC filter; otherwise, the interface is not really promisc. Previously, this code checked IFF_ALLMULTI prior to and without regard for IFF_PROMISC; if both were set, only multicast and direct unicast traffic would make it through the filter. Signed-off-by: Derrick Pallas Signed-off-by: David S. Miller --- Reading git-diff-tree failed