From e19d7ee4b43b37db5e8a01c68d6cf1e552db962b Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sat, 26 Jul 2008 02:21:54 -0700 Subject: [PATCH] --- yaml --- r: 106328 b: refs/heads/master c: 16df845f4566bc252f3e09db12f5c2f22cb44226 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/ipv4/syncookies.c | 1 + trunk/net/ipv6/syncookies.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 729e7fed03a2..ea2e3ea69594 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23 +refs/heads/master: 16df845f4566bc252f3e09db12f5c2f22cb44226 diff --git a/trunk/net/ipv4/syncookies.c b/trunk/net/ipv4/syncookies.c index 51bc24d3b8a7..9d38005abbac 100644 --- a/trunk/net/ipv4/syncookies.c +++ b/trunk/net/ipv4/syncookies.c @@ -299,6 +299,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, ireq->rmt_port = th->source; ireq->loc_addr = ip_hdr(skb)->daddr; ireq->rmt_addr = ip_hdr(skb)->saddr; + ireq->ecn_ok = 0; ireq->snd_wscale = tcp_opt.snd_wscale; ireq->rcv_wscale = tcp_opt.rcv_wscale; ireq->sack_ok = tcp_opt.sack_ok; diff --git a/trunk/net/ipv6/syncookies.c b/trunk/net/ipv6/syncookies.c index 6a68eeb7bbf8..a46badd1082d 100644 --- a/trunk/net/ipv6/syncookies.c +++ b/trunk/net/ipv6/syncookies.c @@ -223,6 +223,7 @@ struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb) req->expires = 0UL; req->retrans = 0; + ireq->ecn_ok = 0; ireq->snd_wscale = tcp_opt.snd_wscale; ireq->rcv_wscale = tcp_opt.rcv_wscale; ireq->sack_ok = tcp_opt.sack_ok;