patch-2.4.0-test5 linux/net/core/dev_mcast.c

Next file: linux/net/core/netfilter.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/net/core/dev_mcast.c linux/net/core/dev_mcast.c
@@ -129,7 +129,7 @@
 			dev->mc_count--;
 			write_unlock_bh(&dev_mc_lock);
 
-			kfree_s(dmi, sizeof(*dmi));
+			kfree(dmi);
 
 			/*
 			 *	We have altered the list, so the card
@@ -205,7 +205,7 @@
 		dev->mc_list = tmp->next;
 		if (tmp->dmi_users > tmp->dmi_gusers)
 			printk("dev_mc_discard: multicast leakage! dmi_users=%d\n", tmp->dmi_users);
-		kfree_s(tmp, sizeof(*tmp));
+		kfree(tmp);
 	}
 	dev->mc_count = 0;
 	write_unlock_bh(&dev_mc_lock);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)