syncookies: Make sure ECN is disabled
authorFlorian Westphal <fw@strlen.de>
Sat, 26 Jul 2008 09:21:54 +0000 (02:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jul 2008 09:21:54 +0000 (02:21 -0700)
commit16df845f4566bc252f3e09db12f5c2f22cb44226
treec83f5b664b669ff26bbf5c9a44b9ccecfa53c506
parentec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23
syncookies: Make sure ECN is disabled

ecn_ok is not initialized when a connection is established by cookies.
The cookie syn-ack never sets ECN, so ecn_ok must be set to 0.

Spotted using ns-3/network simulation cradle simulator and valgrind.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/syncookies.c
net/ipv6/syncookies.c