patch-2.4.0-test5 linux/net/appletalk/ddp.c
Next file: linux/net/core/dev_mcast.c
Previous file: linux/net/appletalk/aarp.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Jul 18 16:09:27 2000
- Orig file:
v2.4.0-test4/linux/net/appletalk/ddp.c
- Orig date:
Fri Jun 23 21:55:23 2000
diff -u --recursive --new-file v2.4.0-test4/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -335,7 +335,7 @@
while ((tmp = *iface) != NULL) {
if (tmp->dev == dev) {
*iface = tmp->next;
- kfree_s(tmp, sizeof(struct atalk_iface));
+ kfree(tmp);
dev->atalk_ptr = NULL;
MOD_DEC_USE_COUNT;
} else
@@ -769,7 +769,7 @@
(!(tmp->flags&RTF_GATEWAY) ||
tmp->target.s_node == addr->s_node)) {
*r = tmp->next;
- kfree_s(tmp, sizeof(struct atalk_route));
+ kfree(tmp);
goto out;
}
r = &tmp->next;
@@ -793,7 +793,7 @@
while ((tmp = *r) != NULL) {
if (tmp->dev == dev) {
*r = tmp->next;
- kfree_s(tmp, sizeof(struct atalk_route));
+ kfree(tmp);
} else {
r = &tmp->next;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)