Re: [net-next 1/1] tipc: refactor tipc_sk_timeout() function

2017-10-21 Thread David Miller
From: Jon Maloy Date: Fri, 20 Oct 2017 11:21:32 +0200 > The function tipc_sk_timeout() is more complex than necessary, and > even seems to contain an undetected bug. At one of the occurences > where we renew the timer we just order it with (HZ / 20), instead > of (jiffies + HZ / 20); > > In this

[net-next 1/1] tipc: refactor tipc_sk_timeout() function

2017-10-20 Thread Jon Maloy
The function tipc_sk_timeout() is more complex than necessary, and even seems to contain an undetected bug. At one of the occurences where we renew the timer we just order it with (HZ / 20), instead of (jiffies + HZ / 20); In this commit we clean up the function. Acked-by: Ying Xue Signed-off-by