bonding: don't validate address at device open
authorJay Vosburgh <fubar@us.ibm.com>
Tue, 6 Nov 2007 21:33:29 +0000 (13:33 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 10 Nov 2007 09:25:14 +0000 (04:25 -0500)
commit3a1521b7e5b6964c293bb8ed6773513f8f503de5
treec8beb091e81aa76c5ba7edeb2c4a022270f13097
parent1466a21997212a5fb33d5da9357841972b28b007
bonding: don't validate address at device open

The standard validate_addr handler refuses to accept the all zeroes address
as valid.  However, it's common historical practice for the bonding
master to be configured up prior to having any slaves, at which time the
master will have a MAC address of all zeroes.

Resolved by setting the dev->validate_addr to NULL.  The master still can't
end up with an invalid address, as the set_mac_address function tests
for validity.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c