]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
syncookies: Make sure ECN is disabled
authorFlorian Westphal <fw@strlen.de>
Sat, 26 Jul 2008 09:21:54 +0000 (02:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:04 +0000 (11:05 -0700)
commit689dafca8f3a1e442aa8f1005bca54dcea38f8ba
treeb221c3b3c67b80ec2d1c394e48786bc00dd88b4b
parentfcdf47f94c53c5d39927831fb45725df47f4547c
syncookies: Make sure ECN is disabled

[ Upstream commit 16df845f4566bc252f3e09db12f5c2f22cb44226 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/syncookies.c
net/ipv6/syncookies.c