Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102633
b: refs/heads/master
c: 5ce0da8
h: refs/heads/master
i:
  102631: d74b29b
v: v3
  • Loading branch information
Jay Vosburgh authored and Jeff Garzik committed May 22, 2008
1 parent c131c44 commit edb1f2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d63ddcec20f59e78212aeaf5144e9652c0097211
refs/heads/master: 5ce0da8f0386b62345312ec8fed31303732f4220
6 changes: 3 additions & 3 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,7 @@ void bond_mii_monitor(struct work_struct *work)
read_lock(&bond->lock);
}

delay = ((bond->params.miimon * HZ) / 1000) ? : 1;
delay = msecs_to_jiffies(bond->params.miimon);
read_unlock(&bond->lock);
queue_delayed_work(bond->wq, &bond->mii_work, delay);
}
Expand Down Expand Up @@ -2707,7 +2707,7 @@ void bond_loadbalance_arp_mon(struct work_struct *work)

read_lock(&bond->lock);

delta_in_ticks = (bond->params.arp_interval * HZ) / 1000;
delta_in_ticks = msecs_to_jiffies(bond->params.arp_interval);

if (bond->kill_timers) {
goto out;
Expand Down Expand Up @@ -2837,7 +2837,7 @@ void bond_activebackup_arp_mon(struct work_struct *work)

read_lock(&bond->lock);

delta_in_ticks = (bond->params.arp_interval * HZ) / 1000;
delta_in_ticks = msecs_to_jiffies(bond->params.arp_interval);

if (bond->kill_timers) {
goto out;
Expand Down

0 comments on commit edb1f2c

Please sign in to comment.