diff options
author | Moni Shoua <monis@voltaire.com> | 2007-10-09 22:43:41 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-15 14:20:46 -0400 |
commit | 3158bf7d414b69fdc0c715d0a4d82e12b74ef974 (patch) | |
tree | 48fceb771712a8b93ae02269facd29de7d37f70c /drivers/net/bonding/bonding.h | |
parent | 6b1bf096508c870889c2be63c7757a04d72116fe (diff) |
net/bonding: Handlle wrong assumptions that slave is always an Ethernet device
bonding sometimes uses Ethernet constants (such as MTU and address length) which
are not good when it enslaves non Ethernet devices (such as InfiniBand).
Signed-off-by: Moni Shoua <monis at voltaire.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 5011ba9e4661..ad9c632f88e4 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -156,6 +156,7 @@ struct slave { | |||
156 | s8 link; /* one of BOND_LINK_XXXX */ | 156 | s8 link; /* one of BOND_LINK_XXXX */ |
157 | s8 state; /* one of BOND_STATE_XXXX */ | 157 | s8 state; /* one of BOND_STATE_XXXX */ |
158 | u32 original_flags; | 158 | u32 original_flags; |
159 | u32 original_mtu; | ||
159 | u32 link_failure_count; | 160 | u32 link_failure_count; |
160 | u16 speed; | 161 | u16 speed; |
161 | u8 duplex; | 162 | u8 duplex; |