new_dmi = kmalloc(sizeof(struct dev_mc_list), gpf_flag); 
new_dmi = kmalloc(sizeof(struct dev_mc_list), gfp_flag); 
static int bond_mc_list_copy(struct dev_mc_list *mc_list, struct bonding *bond, int gpf_flag){	struct dev_mc_list *dmi, *new_dmi;	for (dmi = mc_list; dmi; dmi = dmi->next) {		new_dmi = kmalloc(sizeof(struct dev_mc_list), gpf_flag);		if (!new_dmi) {			/* FIXME: Potential memory leak !!! */			return -ENOMEM;		}		new_dmi->next = bond->mc_list;		bond->mc_list = new_dmi;		new_dmi->dmi_addrlen = dmi->dmi_addrlen;		memcpy(new_dmi->dmi_addr, dmi->dmi_addr, dmi->dmi_addrlen);		new_dmi->dmi_users = dmi->dmi_users;		new_dmi->dmi_gusers = dmi->dmi_gusers;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/de54f3907d2f5d8e25cfafe513811f146b250dee/bond_main.c/buggy/drivers/net/bonding/bond_main.c