patch-2.1.42 linux/net/ax25/ax25_uid.c
Next file: linux/net/ax25/sysctl_net_ax25.c
Previous file: linux/net/ax25/ax25_timer.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Wed May 28 10:49:11 1997
- Orig file:
v2.1.41/linux/net/ax25/ax25_uid.c
- Orig date:
Thu Feb 27 10:57:32 1997
diff -u --recursive --new-file v2.1.41/linux/net/ax25/ax25_uid.c linux/net/ax25/ax25_uid.c
@@ -1,9 +1,6 @@
/*
* AX.25 release 036
*
- * This is ALPHA test software. This code may break your machine, randomly fail to work with new
- * releases, misbehave and/or generally screw up. It might even work.
- *
* This code REQUIRES 2.1.15 or higher/ NET3.038
*
* This module:
@@ -110,14 +107,14 @@
if ((s = ax25_uid_list) == ax25_uid) {
ax25_uid_list = s->next;
restore_flags(flags);
- kfree_s(ax25_uid, sizeof(ax25_uid_assoc));
+ kfree(ax25_uid);
return 0;
}
while (s != NULL && s->next != NULL) {
if (s->next == ax25_uid) {
s->next = ax25_uid->next;
restore_flags(flags);
- kfree_s(ax25_uid, sizeof(ax25_uid_assoc));
+ kfree(ax25_uid);
return 0;
}
s = s->next;
@@ -180,7 +177,7 @@
s = ax25_uid;
ax25_uid = ax25_uid->next;
- kfree_s(s, sizeof(ax25_uid_assoc));
+ kfree(s);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov