patch-2.1.89 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
- Lines: 18
- Date:
Sun Mar 1 14:40:41 1998
- Orig file:
v2.1.88/linux/net/ipv4/syncookies.c
- Orig date:
Sun Nov 30 14:00:39 1997
diff -u --recursive --new-file v2.1.88/linux/net/ipv4/syncookies.c linux/net/ipv4/syncookies.c
@@ -92,7 +92,7 @@
return isn;
}
-/* This value should be dependant on TCP_TIMEOUT_INIT and
+/* This value should be dependent on TCP_TIMEOUT_INIT and
* sysctl_tcp_retries1. It's a rather complicated formula
* (exponential backoff) to compute at runtime so it's currently hardcoded
* here.
@@ -203,7 +203,7 @@
opt &&
opt->srr ? opt->faddr : req->af.v4_req.rmt_addr,
req->af.v4_req.loc_addr,
- sk->ip_tos,
+ sk->ip_tos | RTO_CONN,
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