Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f81edc6a authored by Derrick Pallas's avatar Derrick Pallas Committed by David S. Miller
Browse files

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: default avatarDerrick Pallas <pallas@meraki.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7b4577a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment