bond: Use bond_enable_slave at slave registration.
authorEthan Jackson <ethan@nicira.com>
Tue, 12 Apr 2011 22:15:32 +0000 (15:15 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 13 Apr 2011 21:15:22 +0000 (14:15 -0700)
commitb3c18f66bfb1d6ef112716cbcfceb8aa5731ed4b
treeced44056560c0ffdd05c5c069f9abfcd9419ed04
parent95aafb2a600075753da879d1284fe44ec886a365
bond: Use bond_enable_slave at slave registration.

Slave registration should go through the normal slave enabling
facilities instead of doing it by hand.  Before this patch, newly
created slaves would have no tag associated with them.
Furthermore, any further changes to how slaves are enabled would
not be picked up by the registration code.
lib/bond.c