]> git.baikalelectronics.ru Git - kernel.git/commit
syncookies: only increment SYNCOOKIESFAILED on validation error
authorFlorian Westphal <fw@strlen.de>
Thu, 30 Oct 2014 01:55:38 +0000 (02:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 20:53:39 +0000 (16:53 -0400)
commit3cd5c1721c70e2ab78213c1abf669a0a44445366
treebaa2ad2fb7b968b1fec4f11d59949160f93938de
parent78022cdb956cc6dc147e1300e5a58e4f7b8f9db5
syncookies: only increment SYNCOOKIESFAILED on validation error

Only count packets that failed cookie-authentication.
We can get SYNCOOKIESFAILED > 0 while we never even sent a single cookie.

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