Bjoern A. Zeeb
d8951c8a2f
Fix PAWS (Protect Against Wrapped Sequence numbers) in cases when
...
hz >> 1000 and thus getting outside the timestamp clock frequenceny of
1ms < x < 1s per tick as mandated by RFC1323, leading to connection
resets on idle connections.
Always use a granularity of 1ms using getmicrouptime() making all but
relevant callouts independent of hz.
Use getmicrouptime(), not getmicrotime() as the latter may make a jump
possibly breaking TCP nfsroot mounts having our timestamps move forward
for more than 24.8 days in a second without having been idle for that
long.
PR: kern/61404
Reviewed by: jhb, mav, rrs
Discussed with: silby, lstewart
Sponsored by: Sandvine Incorporated (originally in 2011)
MFC after: 6 weeks
2012-02-15 16:09:56 +00:00
..
2012-02-06 11:35:29 +00:00
2011-11-07 15:43:11 +00:00
2011-11-07 15:43:11 +00:00
2012-01-22 02:13:19 +00:00
2012-01-08 13:34:00 +00:00
2012-01-05 19:00:36 +00:00
2011-10-15 16:28:06 +00:00
2012-01-24 14:27:14 +00:00
2012-01-22 02:13:19 +00:00
2011-11-06 10:47:20 +00:00
2012-01-09 08:50:22 +00:00
2012-01-08 17:20:29 +00:00
2012-01-16 09:53:24 +00:00
2011-10-15 18:41:25 +00:00
2012-02-08 13:39:38 +00:00
2011-12-20 13:53:31 +00:00
2012-01-22 10:41:58 +00:00
2012-01-22 10:41:58 +00:00
2012-01-07 00:11:36 +00:00
2012-01-05 19:00:36 +00:00
2012-01-22 02:13:19 +00:00
2011-11-07 15:43:11 +00:00
2011-11-06 10:47:20 +00:00
2011-12-29 20:41:16 +00:00
2012-01-02 09:18:58 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2012-01-05 19:00:36 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2012-01-20 13:26:11 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2012-02-14 12:00:34 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2012-02-06 10:47:12 +00:00
2012-01-08 09:56:24 +00:00
2012-01-08 09:56:24 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2012-01-14 09:10:20 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2012-01-15 13:35:55 +00:00
2011-12-17 19:21:40 +00:00
2011-11-07 15:43:11 +00:00
2012-02-15 16:09:56 +00:00
2012-02-15 16:09:56 +00:00
2011-11-27 02:32:08 +00:00
2012-02-15 16:09:56 +00:00
2012-02-15 16:09:56 +00:00
2012-02-05 16:53:02 +00:00
2012-02-05 16:53:02 +00:00
2012-02-15 16:09:56 +00:00
2012-02-05 16:53:02 +00:00
2012-02-05 16:53:02 +00:00
2012-02-05 16:53:02 +00:00
2011-10-16 10:58:00 +00:00