net/bonding: Handlle wrong assumptions that slave is always an Ethernet device
authorMoni Shoua <monis@voltaire.com>
Wed, 10 Oct 2007 02:43:41 +0000 (19:43 -0700)
committerJeff Garzik <jeff@garzik.org>
Mon, 15 Oct 2007 18:20:46 +0000 (14:20 -0400)
commit3158bf7d414b69fdc0c715d0a4d82e12b74ef974
tree48fceb771712a8b93ae02269facd29de7d37f70c
parent6b1bf096508c870889c2be63c7757a04d72116fe
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>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h