]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccf3c9564bc9a5a152a833e3b50fe176f15c4475
treec8beb091e81aa76c5ba7edeb2c4a022270f13097
parent8d2cce49e9ebc0415edea24b5ee946f930720dc9
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