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
..
2011-04-13 11:28:46 +00:00
2012-01-24 14:27:14 +00:00
2011-08-20 17:05:11 +00:00
2012-01-07 00:11:36 +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-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-04-30 11:22:30 +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-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
2012-01-15 13:35:55 +00:00
2011-12-17 19:21:40 +00:00
2011-01-07 21:40:34 +00:00
2011-08-20 17:05:11 +00:00
2011-10-16 10:58:00 +00:00
2011-01-07 21:40:34 +00:00