summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sched/sch_etf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_etf.c b/net/sched/sch_etf.c
index cebfb65d8556..b1da5589a0c6 100644
--- a/net/sched/sch_etf.c
+++ b/net/sched/sch_etf.c
@@ -177,7 +177,7 @@ static int etf_enqueue_timesortedlist(struct sk_buff *nskb, struct Qdisc *sch,
177 177
178 parent = *p; 178 parent = *p;
179 skb = rb_to_skb(parent); 179 skb = rb_to_skb(parent);
180 if (ktime_after(txtime, skb->tstamp)) { 180 if (ktime_compare(txtime, skb->tstamp) >= 0) {
181 p = &parent->rb_right; 181 p = &parent->rb_right;
182 leftmost = false; 182 leftmost = false;
183 } else { 183 } else {