/* Returns 0 if dmi1 and dmi2 are the same, non-0 otherwise  */
static int bond_is_dmi_same(const struct dev_mc_list *dmi1, const struct dev_mc_list *dmi2)
/* Returns 0 if dmi1 and dmi2 are the same, non-0 otherwise  */
static int bond_is_dmi_same(const struct dev_mc_list *dmi1, const struct dev_mc_list *dmi2)
{
	return memcmp(dmi1->dmi_addr, dmi2->dmi_addr, dmi1->dmi_addrlen) == 0 &&
			dmi1->dmi_addrlen == dmi2->dmi_addrlen;
}