patch-2.4.0-test5 linux/net/802/p8022.c

Next file: linux/net/802/p8023.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/net/802/p8022.c linux/net/802/p8022.c
@@ -130,7 +130,7 @@
 	{
 		if (tmp->type[0] == type) {
 			*clients = tmp->next;
-			kfree_s(tmp, sizeof(struct datalink_proto));
+			kfree(tmp);
 			break;
 		} else {
 			clients = &tmp->next;

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