patch-2.4.0-test5 linux/net/ipv4/devinet.c
Next file: linux/net/ipv4/igmp.c
Previous file: linux/net/ethernet/pe2.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jul 18 16:09:27 2000
- Orig file:
v2.4.0-test4/linux/net/ipv4/devinet.c
- Orig date:
Tue Jan 11 22:31:46 2000
diff -u --recursive --new-file v2.4.0-test4/linux/net/ipv4/devinet.c linux/net/ipv4/devinet.c
@@ -99,7 +99,7 @@
{
if (ifa->ifa_dev)
__in_dev_put(ifa->ifa_dev);
- kfree_s(ifa, sizeof(*ifa));
+ kfree(ifa);
inet_ifa_count--;
}
@@ -118,7 +118,7 @@
return;
}
inet_dev_count--;
- kfree_s(idev, sizeof(*idev));
+ kfree(idev);
}
struct in_device *inetdev_init(struct net_device *dev)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)