patch-2.1.68 linux/net/ipv4/syncookies.c

Next file: linux/net/ipv4/sysctl_net_ipv4.c
Previous file: linux/net/ipv4/route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/net/ipv4/syncookies.c linux/net/ipv4/syncookies.c
@@ -9,7 +9,7 @@
  *      as published by the Free Software Foundation; either version
  *      2 of the License, or (at your option) any later version.
  * 
- *  $Id: syncookies.c,v 1.2 1997/08/22 19:15:08 freitag Exp $
+ *  $Id: syncookies.c,v 1.3 1997/09/16 17:16:21 freitag Exp $
  *
  *  Missing: IPv6 support. 
  *           Some counter so that the Administrator can see when the machine
@@ -200,9 +200,11 @@
 	 * no easy way to do this. 
 	 */
 	if (ip_route_output(&rt,
-			    opt && opt->srr ? opt->faddr : 
-			    req->af.v4_req.rmt_addr,req->af.v4_req.loc_addr,
-			    sk->ip_tos, NULL)) {
+			    opt && 
+			    opt->srr ? opt->faddr : req->af.v4_req.rmt_addr,
+			    req->af.v4_req.loc_addr,
+			    sk->ip_tos, 
+			    0)) { 
 	    tcp_openreq_free(req);
 	    return NULL; 
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov