summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerrick Pallas <pallas@meraki.com>2015-02-18 00:50:25 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-20 15:49:07 -0500
commitf81edc6ac1e1e2e2cbe98bcd6ef5ebb7afb00807 (patch)
tree064426f731f97f44fb09bd6d17dcf237054b7111 /include
parent7b4577a9da3702049650f7095506e9afd9f68849 (diff)
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 <pallas@meraki.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions