tipc: fix wrong timeout input for tipc_wait_for_cond()
stable inclusion from linux-4.19.99 commit b8f60290aecef29c9e96cdfeaa5de7835ec12af6 -------------------------------- commit 12db3c80 upstream. 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: 365ad353 ("tipc: reduce risk of user starvation during link congestion") Signed-off-by: NTung Nguyen <tung.q.nguyen@dektech.com.au> Acked-by: NJon Maloy <jon.maloy@ericsson.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NLi Aichun <liaichun@huawei.com> Reviewed-by: Nguodeqing <geffrey.guo@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录