patch-2.2.4 linux/net/ipv4/syncookies.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/net/ipv4/route.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Mar 16 21:52:05 1999
- Orig file:
v2.2.3/linux/net/ipv4/syncookies.c
- Orig date:
Tue Jun 23 10:01:31 1998
diff -u --recursive --new-file v2.2.3/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.6 1998/06/10 07:29:22 davem Exp $
+ * $Id: syncookies.c,v 1.7 1999/03/17 02:34:57 davem Exp $
*
* Missing: IPv6 support.
*/
@@ -147,6 +147,8 @@
req->af.v4_req.rmt_addr = skb->nh.iph->saddr;
req->class = &or_ipv4; /* for savety */
+ req->af.v4_req.opt = NULL;
+
/* We throwed the options of the initial SYN away, so we hope
* the ACK carries the same options again (see RFC1122 4.2.3.8)
*/
@@ -162,7 +164,6 @@
}
}
- req->af.v4_req.opt = NULL;
req->snd_wscale = req->rcv_wscale = req->tstamp_ok = 0;
req->wscale_ok = 0;
req->expires = 0UL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)