bond: Be more careful about adding and removing netdevs in the monitor.
authorBen Pfaff <blp@nicira.com>
Thu, 21 Apr 2011 23:34:51 +0000 (16:34 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 21 Apr 2011 23:34:51 +0000 (16:34 -0700)
commita6934aa95f96f946a07b87143f72ab1fb4db854f
treed66feef97a1ecea058e41486a3ea2a8179387ced
parent10b78e7d091b85a2808bac9dd24d7fd3cfeaa8b1
bond: Be more careful about adding and removing netdevs in the monitor.

The code was careless about updating the netdev_monitor.  Newly added
slaves weren't added to the monitor until the next bond_reconfigure() call,
and netdevs were never removed from the monitor.
lib/bond.c