patch-2.4.0-test5 linux/net/ipv4/ip_options.c
Next file: linux/net/ipv4/ip_sockglue.c
Previous file: linux/net/ipv4/igmp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jul 18 16:09:27 2000
- Orig file:
v2.4.0-test4/linux/net/ipv4/ip_options.c
- Orig date:
Wed Jun 9 14:45:37 1999
diff -u --recursive --new-file v2.4.0-test4/linux/net/ipv4/ip_options.c linux/net/ipv4/ip_options.c
@@ -509,7 +509,7 @@
opt->is_data = 1;
opt->is_setbyuser = 1;
if (optlen && ip_options_compile(opt, NULL)) {
- kfree_s(opt, sizeof(struct ip_options) + optlen);
+ kfree(opt);
return -EINVAL;
}
*optp = opt;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)