diff options
author | Tan, Tee Min <tee.min.tan@intel.com> | 2020-02-07 15:34:15 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-07 11:36:22 +0100 |
commit | 2f633d5820e4ed870f408957322acb9263bce2f4 (patch) | |
tree | 5a603a4661167d10b5a2d776e9dedb85571483ac /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2ba31cd93784b61813226d259fd94a221ecd9d61 (diff) |
net: stmmac: xgmac: fix missing IFF_MULTICAST checki in dwxgmac2_set_filter
Without checking for IFF_MULTICAST flag, it is wrong to assume multicast
filtering is always enabled. By checking against IFF_MULTICAST, now
the driver behaves correctly when the multicast support is toggled by below
command:-
ip link set <devname> multicast off|on
Fixes: 0efedbf11f07a ("net: stmmac: xgmac: Fix XGMAC selftests")
Signed-off-by: Tan, Tee Min <tee.min.tan@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions