diff options
author | Con Kolivas <kernel@kolivas.org> | 2017-02-20 13:30:07 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2019-11-26 23:48:01 +1100 |
commit | e907c530c3d52bb212ebe09efba6b78a2ff393a6 (patch) | |
tree | a82a20864279334ee5582d8cbf60907ac6c07a57 /net | |
parent | 688c8d0716e6598dd7c25c89d4699704a3337bd5 (diff) |
Replace all calls to schedule_timeout_interruptible of potentially under 50ms to use schedule_msec_hrtimeout_interruptible.
Diffstat (limited to 'net')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 48b1e429857c..908c866bc9fc 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -1894,7 +1894,7 @@ static void pktgen_mark_device(const struct pktgen_net *pn, const char *ifname) mutex_unlock(&pktgen_thread_lock); pr_debug("%s: waiting for %s to disappear....\n", __func__, ifname); - schedule_timeout_interruptible(msecs_to_jiffies(msec_per_try)); + schedule_msec_hrtimeout_interruptible((msec_per_try)); mutex_lock(&pktgen_thread_lock); if (++i >= max_tries) { |