Skip to content
Commit 2ba31cd9 authored by Verma, Aashish's avatar Verma, Aashish Committed by David S. Miller
Browse files

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: 477286b5 ("stmmac: add GMAC4 core support")
Signed-off-by: default avatarVerma, Aashish <aashishx.verma@intel.com>
Tested-by: default avatarTan, Tee Min <tee.min.tan@intel.com>
Signed-off-by: default avatarOng Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 907a0768
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment