syncookies: make v4/v6 synflood warning behaviour the same
authorFlorian Westphal <fw@strlen.de>
Thu, 3 Jun 2010 00:43:12 +0000 (00:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Jun 2010 09:23:14 +0000 (02:23 -0700)
commit2a1d4bd46047efff513600d7ff422bc344f540a6
treede7fc60152e12530c4159809a00560f60d284b25
parent87eb743b943a472eb90ac2cbf7f4a132773de77f
syncookies: make v4/v6 synflood warning behaviour the same

both syn_flood_warning functions print a message, but
ipv4 version only prints a warning if CONFIG_SYN_COOKIES=y.

Make the v4 one behave like the v6 one.

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