diff options
Diffstat (limited to 'drivers/net/ethernet/sfc/ethtool.c')
-rw-r--r-- | drivers/net/ethernet/sfc/ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/ethtool.c b/drivers/net/ethernet/sfc/ethtool.c index b0a4558de248..03ded364c8da 100644 --- a/drivers/net/ethernet/sfc/ethtool.c +++ b/drivers/net/ethernet/sfc/ethtool.c | |||
@@ -1023,7 +1023,7 @@ static int efx_ethtool_set_class_rule(struct efx_nic *efx, | |||
1023 | return -EINVAL; | 1023 | return -EINVAL; |
1024 | 1024 | ||
1025 | /* Is it a default UC or MC filter? */ | 1025 | /* Is it a default UC or MC filter? */ |
1026 | if (!compare_ether_addr(mac_mask->h_dest, mac_addr_mc_mask) && | 1026 | if (ether_addr_equal(mac_mask->h_dest, mac_addr_mc_mask) && |
1027 | vlan_tag_mask == 0) { | 1027 | vlan_tag_mask == 0) { |
1028 | if (is_multicast_ether_addr(mac_entry->h_dest)) | 1028 | if (is_multicast_ether_addr(mac_entry->h_dest)) |
1029 | rc = efx_filter_set_mc_def(&spec); | 1029 | rc = efx_filter_set_mc_def(&spec); |