Skip to content
Commit 0f14a835 authored by Yu Zhe's avatar Yu Zhe Committed by Jakub Kicinski
Browse files

dn_route: replace "jiffies-now>0" with "jiffies!=now"



Use "jiffies != now" to replace "jiffies - now > 0" to make
code more readable. We want to put a limit on how long the
loop can run for before rescheduling.

Signed-off-by: default avatarYu Zhe <yuzhe@nfschina.com>
Link: https://lore.kernel.org/r/20220729061712.22666-1-yuzhe@nfschina.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ff4970b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment