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-09-11 12:34:13 -07:00
2014-01-04 20:10:40 +02:00
2013-09-23 16:29:41 -04:00
2013-12-06 12:37:56 -05:00
2014-02-06 11:46:06 +01:00
2014-01-19 17:12:31 -08:00
2014-01-17 14:43:17 -05:00
2014-02-17 00:16:56 -05:00
2013-12-06 12:37:56 -05:00
2014-01-21 14:43:16 -08:00
2014-01-22 21:57:05 -08:00
2013-07-31 17:50:01 -07:00
2013-08-10 01:16:44 -07:00
2013-07-27 22:14:06 -07:00
2013-12-28 17:02:46 -05:00
2013-07-31 17:50:02 -07:00
2014-01-13 17:39:11 +01:00
2014-01-09 14:24:24 +01:00
2013-11-04 15:27:08 -05:00
2013-12-10 17:56:54 -05:00
2014-01-03 23:41:41 +01:00
2014-01-21 23:17:20 -08:00
2013-09-20 14:49:32 -04:00
2014-02-09 17:32:50 -08:00
2013-12-06 12:37:56 -05:00
2013-12-06 12:37:56 -05:00
2013-12-10 21:50:00 -05:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2014-02-09 17:32:49 -08:00
2014-02-09 17:32:49 -08:00
2013-12-17 16:36:21 -05:00
2013-11-07 19:28:58 -05:00
2014-02-04 20:19:51 -08:00
2013-09-20 14:49:33 -04:00
2013-10-03 15:36:37 -04:00
2013-12-06 07:24:39 +01:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2014-01-06 15:51:53 -08:00
2014-01-06 20:28:34 -05:00
2013-09-20 14:49:33 -04:00
2013-07-16 09:58:05 +03:00
2014-01-18 00:55:41 -08:00
2013-09-21 14:01:38 -04:00
2013-10-19 19:45:34 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-05-28 23:49:07 -07:00
2013-10-23 17:01:41 -04:00
2013-10-08 23:19:24 -04:00
2013-10-19 19:45:35 -04:00
2014-01-17 17:56:33 -08:00
2013-12-28 17:03:20 -05:00
2013-10-09 13:04:03 -04:00
2014-01-02 03:30:35 -05:00
2014-01-07 15:51:39 -05:00
2014-01-04 20:10:24 -05:00
2013-09-21 14:01:38 -04:00
2014-02-20 13:13:50 -05:00
2013-11-11 00:19:35 -05:00
2014-01-19 19:53:18 -08:00
2014-01-21 16:59:19 -08:00
2014-02-09 17:32:50 -08:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2014-01-01 22:22:43 -05:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2014-01-03 20:56:48 -05:00
2014-01-10 09:50:02 +01:00
2013-10-21 18:56:23 -04:00
2013-12-06 12:37:56 -05:00
2013-09-04 14:53:20 -04:00
2013-10-01 17:06:14 -04:00
2013-09-21 14:01:39 -04:00
2014-01-16 11:31:58 -08:00
2014-02-09 17:32:50 -08:00
2013-09-21 14:01:39 -04:00
2014-01-25 11:17:34 -08:00
2013-09-21 14:01:39 -04:00
2014-01-03 23:41:42 +01:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:39 -04:00
2014-01-19 19:53:18 -08:00
2014-01-13 11:50:15 -08:00
2013-12-09 19:54:47 -05:00
2014-01-21 18:05:04 -08:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2014-01-21 23:17:20 -08:00
2014-01-13 14:46:58 -05:00
2013-10-10 00:08:07 -04:00
2013-09-23 01:51:08 -04:00
2014-01-13 11:22:54 -08:00
2014-01-22 21:57:05 -08:00
2014-01-13 11:50:14 -08:00
2013-09-23 01:51:09 -04:00
2013-10-01 17:06:14 -04:00
2014-03-11 16:45:59 -04:00
2013-12-19 18:51:20 -05:00
2013-09-23 01:51:09 -04:00
2013-10-21 18:43:02 -04:00
2014-03-20 16:22:42 -04:00
2014-01-19 19:53:18 -08:00
2013-11-07 02:14:33 -05:00
2013-09-23 16:29:40 -04:00
2013-07-27 22:14:06 -07:00
2014-01-21 18:05:04 -08:00
2013-09-23 16:29:40 -04:00
2013-09-23 16:29:41 -04:00
2013-09-23 16:29:41 -04:00
2014-02-20 14:30:10 +01:00