]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: check for assigned mac before adopting the slaves mac address
authorDavid Strand <dpstrand@gmail.com>
Wed, 1 Dec 2010 19:43:08 +0000 (11:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2010 19:43:08 +0000 (11:43 -0800)
commitd21e8eacd7523ef0bd979af7d855abb7db5b4422
tree02c1a03ebd493b1dde6ace6f2ee88bb60866e741
parenta4a4a946746bf07660fb0b7ebcb10126020bca3b
bonding: check for assigned mac before adopting the slaves mac address

Restore the check for an unassigned mac address before adopting the
first slaves as it's own. The change in behavior was introduced by:

commit 01bea8f2e764c5e299220ba14d98d00b017289a2
Author: Jiri Pirko <jpirko@redhat.com>

    bonding: move dev_addr cpy to bond_enslave

Signed-off-by: David Strand <dpstrand@gmail.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c