|
@@ -1430,7 +1430,7 @@ vxge_search_mac_addr_in_da_table(struct vxge_vpath *vpath, struct macInfo *mac)
|
|
return status;
|
|
return status;
|
|
}
|
|
}
|
|
|
|
|
|
- while (memcmp(mac->macaddr, macaddr, ETH_ALEN)) {
|
|
|
|
|
|
+ while (!ether_addr_equal(mac->macaddr, macaddr)) {
|
|
status = vxge_hw_vpath_mac_addr_get_next(vpath->handle,
|
|
status = vxge_hw_vpath_mac_addr_get_next(vpath->handle,
|
|
macaddr, macmask);
|
|
macaddr, macmask);
|
|
if (status != VXGE_HW_OK)
|
|
if (status != VXGE_HW_OK)
|