]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit172d69e63c7f1e8300d0e1c1bbd8eb0f630faa15
treec71118ddc86186e235a920b9529c457db5e9aae5
parent734f614bc1e7c6bf075d201f6bd9a555b8b4a984
syncookies: add support for ECN

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>
include/net/tcp.h
net/ipv4/syncookies.c
net/ipv4/tcp_ipv4.c
net/ipv6/syncookies.c
net/ipv6/tcp_ipv6.c