Eric Dumazet 6326231531 tcp: syncookies: do not use getnstimeofday()
While it is true that getnstimeofday() uses about 40 cycles if TSC
is available, it can use 1600 cycles if hpet is the clocksource.

Switch to get_jiffies_64(), as this is more than enough, and
go back to 60 seconds periods.

Fixes: 8c27bd75f04f ("tcp: syncookies: reduce cookie lifetime to 128 seconds")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Florian Westphal <fw@strlen.de>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-20 16:22:42 -04:00
..
2013-12-28 17:02:46 -05:00
2013-11-07 19:28:58 -05:00
2013-12-06 07:24:39 +01:00
2013-10-08 23:19:24 -04:00
2013-12-28 17:03:20 -05:00
2014-01-03 20:56:48 -05:00
2014-01-21 18:05:04 -08:00