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:Gerd W. Haeussler <gerd.haeussler@cesys-it.com> Signed-off-by:
Jon Mason <jdmason@kudzu.us> Acked-by:
Dave Jiang <dave.jiang@intel.com> Signed-off-by:
YueHaibing <yuehaibing@huawei.com> Reviewed-by:
Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment