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

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

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

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