syncookies: add support for ECN
authorFlorian Westphal <fw@strlen.de>
Mon, 21 Jun 2010 11:48:45 +0000 (11:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jun 2010 05:00:03 +0000 (22:00 -0700)
Allows use of ECN when syncookies are in effect by encoding ecn_ok
into the syn-ack tcp timestamp.

While at it, remove a uneeded #ifdef CONFIG_SYN_COOKIES.
With CONFIG_SYN_COOKIES=nm want_cookie is ifdef'd to 0 and gcc
removes the "if (0)".

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

No differences found