commit | 0d5fcebf3c370eb27f9a0e8db454625e73cd1cb4 | [log] [tgz] |
---|---|---|
author | Jon Maloy <jon.maloy@ericsson.com> | Fri Oct 20 11:21:32 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 22 02:36:35 2017 +0100 |
tree | 590c536fadf115aaf7873d3b0ea45b1c199dd7c9 | |
parent | 36341de257a127f3e73fdfb758e017e3a8548fb0 [diff] |
tipc: refactor tipc_sk_timeout() function 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 <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>