diff options
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 0978c9ac6d2b..41aa78bf1f78 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -22,8 +22,8 @@ | |||
22 | #include "bond_3ad.h" | 22 | #include "bond_3ad.h" |
23 | #include "bond_alb.h" | 23 | #include "bond_alb.h" |
24 | 24 | ||
25 | #define DRV_VERSION "3.1.1" | 25 | #define DRV_VERSION "3.1.2" |
26 | #define DRV_RELDATE "September 26, 2006" | 26 | #define DRV_RELDATE "January 20, 2007" |
27 | #define DRV_NAME "bonding" | 27 | #define DRV_NAME "bonding" |
28 | #define DRV_DESCRIPTION "Ethernet Channel Bonding Driver" | 28 | #define DRV_DESCRIPTION "Ethernet Channel Bonding Driver" |
29 | 29 | ||
@@ -237,12 +237,13 @@ static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) | |||
237 | #define BOND_ARP_VALIDATE_ALL (BOND_ARP_VALIDATE_ACTIVE | \ | 237 | #define BOND_ARP_VALIDATE_ALL (BOND_ARP_VALIDATE_ACTIVE | \ |
238 | BOND_ARP_VALIDATE_BACKUP) | 238 | BOND_ARP_VALIDATE_BACKUP) |
239 | 239 | ||
240 | extern inline int slave_do_arp_validate(struct bonding *bond, struct slave *slave) | 240 | static inline int slave_do_arp_validate(struct bonding *bond, |
241 | struct slave *slave) | ||
241 | { | 242 | { |
242 | return bond->params.arp_validate & (1 << slave->state); | 243 | return bond->params.arp_validate & (1 << slave->state); |
243 | } | 244 | } |
244 | 245 | ||
245 | extern inline unsigned long slave_last_rx(struct bonding *bond, | 246 | static inline unsigned long slave_last_rx(struct bonding *bond, |
246 | struct slave *slave) | 247 | struct slave *slave) |
247 | { | 248 | { |
248 | if (slave_do_arp_validate(bond, slave)) | 249 | if (slave_do_arp_validate(bond, slave)) |