Commit a27a61ff authored by David S. Miller's avatar David S. Miller

[SHAPER]: Fix time_before_eq args.

parent f6edcf87
......@@ -336,7 +336,7 @@ static void shaper_kick(struct shaper *shaper)
if(sh_debug)
printk("Clock = %ld, jiffies = %ld\n", SHAPERCB(skb)->shapeclock, jiffies);
if(time_before_eq(SHAPERCB(skb)->shapeclock - jiffies, SHAPER_BURST))
if(time_before_eq(SHAPERCB(skb)->shapeclock, jiffies + SHAPER_BURST))
{
/*
* Pull the frame and get interrupts back on.
......
Markdown is supported
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