bridge: Simplify and clean up bond slave enable/disable.
authorBen Pfaff <blp@nicira.com>
Wed, 23 Mar 2011 17:47:15 +0000 (10:47 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Apr 2011 22:52:20 +0000 (15:52 -0700)
commit207079c429146445a726350d401adba5f150740d
treeb9f386d7d5ae82cfb6b511e1ff832c0bae03ef54
parente34c9ddcc8f09925ff44879316f62897f172c30e
bridge: Simplify and clean up bond slave enable/disable.

The code that enables and disables bond slaves was a bit of a mess:

    * Disabling a slave could recursively enable a different slave.

    * Processing a flow could enable a slave.

This commit gets rid of both of those properties, which made it difficult
to reason about the code paths along which slaves would be enabled and
disabled.

Bug #5121.
vswitchd/bridge.c