patch-2.4.0-test5 linux/net/ipv4/tcp_ipv4.c
Next file: linux/net/ipv6/mcast.c
Previous file: linux/net/ipv4/syncookies.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/tcp_ipv4.c
- Orig date:
Fri Jul 14 12:12:16 2000
diff -u --recursive --new-file v2.4.0-test4/linux/net/ipv4/tcp_ipv4.c linux/net/ipv4/tcp_ipv4.c
@@ -1232,7 +1232,7 @@
static void tcp_v4_or_free(struct open_request *req)
{
if (req->af.v4_req.opt)
- kfree_s(req->af.v4_req.opt, optlength(req->af.v4_req.opt));
+ kfree(req->af.v4_req.opt);
}
static inline void syn_flood_warning(struct sk_buff *skb)
@@ -1261,7 +1261,7 @@
dopt = kmalloc(opt_size, GFP_ATOMIC);
if (dopt) {
if (ip_options_echo(dopt, skb)) {
- kfree_s(dopt, opt_size);
+ kfree(dopt);
dopt = NULL;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)