Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45955
b: refs/heads/master
c: f8a8ccd
h: refs/heads/master
i:
  45953: 5f010f5
  45951: 5a3763c
v: v3
  • Loading branch information
Andy Gospodarek authored and Jeff Garzik committed Jan 30, 2007
1 parent 27ae3b7 commit c557af0
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d4150a2731615de5cd4527a23435aaa7396c63c6
refs/heads/master: f8a8ccd56d82bd4f4b5c7c2e7eb758c7764d98e1
7 changes: 4 additions & 3 deletions trunk/drivers/net/bonding/bonding.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ struct slave {
struct slave *next;
struct slave *prev;
int delay;
u32 jiffies;
u32 last_arp_rx;
unsigned long jiffies;
unsigned long last_arp_rx;
s8 link; /* one of BOND_LINK_XXXX */
s8 state; /* one of BOND_STATE_XXXX */
u32 original_flags;
Expand Down Expand Up @@ -242,7 +242,8 @@ extern inline int slave_do_arp_validate(struct bonding *bond, struct slave *slav
return bond->params.arp_validate & (1 << slave->state);
}

extern inline u32 slave_last_rx(struct bonding *bond, struct slave *slave)
extern inline unsigned long slave_last_rx(struct bonding *bond,
struct slave *slave)
{
if (slave_do_arp_validate(bond, slave))
return slave->last_arp_rx;
Expand Down

0 comments on commit c557af0

Please sign in to comment.