patch-2.4.0-test5 linux/net/ipv4/syncookies.c

Next file: linux/net/ipv4/tcp_ipv4.c
Previous file: linux/net/ipv4/netfilter/ipt_REJECT.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/net/ipv4/syncookies.c linux/net/ipv4/syncookies.c
@@ -159,7 +159,7 @@
 		req->af.v4_req.opt = kmalloc(opt_size, GFP_ATOMIC);
 		if (req->af.v4_req.opt) {
 			if (ip_options_echo(req->af.v4_req.opt, skb)) {
-				kfree_s(req->af.v4_req.opt, opt_size);
+				kfree(req->af.v4_req.opt);
 				req->af.v4_req.opt = NULL;
 			}
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)