Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: Move is_out_of_time() to main.h for general use

Marek Lindner
2011-12-10T09:28:54Z

On Thursday, December 08, 2011 20:32:41 Martin Hundebøll wrote:
> Both translation tables and network coding use timeouts to do house
> keeping, so we might as well share the function used to compare a
> timestamp+timeout with current time.
>
> For readability and simplicity, the function is renamed to
> has_timed_out() and uses time_is_before_jiffies() instead of
> time_after().

Applied in revision 7ee2219.

Thanks,
Marek