commit | 12db3c8083fcab4270866a88191933f2d9f24f89 | [log] [tgz] |
---|---|---|
author | Tung Nguyen <tung.q.nguyen@dektech.com.au> | Thu Nov 28 10:10:07 2019 +0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 28 23:09:14 2019 -0800 |
tree | ab550300560ce90590087070b8bc88c56897e16c | |
parent | 91a4a3eb433e4d786420c41f3c08d1d16c605962 [diff] |
tipc: fix wrong timeout input for tipc_wait_for_cond() In function __tipc_shutdown(), the timeout value passed to tipc_wait_for_cond() is not jiffies. This commit fixes it by converting that value from milliseconds to jiffies. Fixes: 365ad353c256 ("tipc: reduce risk of user starvation during link congestion") Signed-off-by: Tung Nguyen <tung.q.nguyen@dektech.com.au> Acked-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>