Hans Petter Selasky 54fe6f6bdf Fix problems about 32-bit ticks wraparound and unsigned long
conversion:
- The linux compat API layer casts the ticks to unsigned long which
might cause problems when the ticks value is negative.
- Guard against already expired ticks values, by checking if the
passed expiry tick is already elapsed.
- While at it avoid referring the address of an inlined function.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2015-03-18 10:49:17 +00:00
..
2015-03-17 18:32:28 +00:00
2015-03-13 02:49:55 +00:00
2015-03-16 00:10:03 +00:00
2015-03-12 20:14:48 +00:00
2015-03-01 00:22:16 +00:00
2015-03-18 04:40:36 +00:00
2015-02-02 16:07:07 +00:00
2015-03-16 00:10:03 +00:00