diff options
author | Verma, Aashish <[email protected]> | 2020-02-07 15:33:54 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-02-07 11:36:21 +0100 |
commit | 2ba31cd93784b61813226d259fd94a221ecd9d61 (patch) | |
tree | c024a2790da577867b9b4994cee5d0627ce173eb /drivers/usb/cdns3/cdns3-debug.h | |
parent | 907a076881f171254219faad05f46ac5baabedfb (diff) |
net: stmmac: fix missing IFF_MULTICAST check in dwmac4_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: 477286b53f55 ("stmmac: add GMAC4 core support")
Signed-off-by: Verma, Aashish <[email protected]>
Tested-by: Tan, Tee Min <[email protected]>
Signed-off-by: Ong Boon Leong <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions