|
@@ -841,7 +841,7 @@ static void update_mclist_flags(struct mlx4_en_priv *priv,
|
|
|
list_for_each_entry(dst_tmp, dst, list) {
|
|
|
found = false;
|
|
|
list_for_each_entry(src_tmp, src, list) {
|
|
|
- if (!memcmp(dst_tmp->addr, src_tmp->addr, ETH_ALEN)) {
|
|
|
+ if (ether_addr_equal(dst_tmp->addr, src_tmp->addr)) {
|
|
|
found = true;
|
|
|
break;
|
|
|
}
|
|
@@ -856,7 +856,7 @@ static void update_mclist_flags(struct mlx4_en_priv *priv,
|
|
|
list_for_each_entry(src_tmp, src, list) {
|
|
|
found = false;
|
|
|
list_for_each_entry(dst_tmp, dst, list) {
|
|
|
- if (!memcmp(dst_tmp->addr, src_tmp->addr, ETH_ALEN)) {
|
|
|
+ if (ether_addr_equal(dst_tmp->addr, src_tmp->addr)) {
|
|
|
dst_tmp->action = MCLIST_NONE;
|
|
|
found = true;
|
|
|
break;
|