Commit 86d78bfc authored by Jon Mason's avatar Jon Mason Committed by Xie XiuQi
Browse files

ntb_netdev: fix sleep time mismatch



mainline inclusion
from mainline-4.20
commit a861594b
category: bugfix
bugzilla: 6015
CVE: NA

-------------------------------------------------

The tx_time should be in usecs (according to the comment above the
variable), but the setting of the timer during the rearming is done in
msecs.  Change it to match the expected units.

Fixes: e74bfeed ("NTB: Add flow control to the ntb_netdev")
Suggested-by: default avatarGerd W. Haeussler <gerd.haeussler@cesys-it.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
Acked-by: default avatarDave Jiang <dave.jiang@intel.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent af568256
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment