bridge: Change port's 'ifaces' member from array to list.
authorBen Pfaff <blp@nicira.com>
Mon, 21 Mar 2011 17:24:32 +0000 (10:24 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 22 Mar 2011 00:01:49 +0000 (17:01 -0700)
commit83db796889bf98f8699fbd7305ffe920a0b527a1
treea41d2dc80f5c823f997b4366c49284d4371f75a2
parentc17f0d5e2e4dde4345ec383a99a3b70f6c353caa
bridge: Change port's 'ifaces' member from array to list.

In my opinion, this makes the code more obviously correct in many places,
because there are generally fewer variables.  One must generally keep two
variables in sync for iterating through an array: the array index and the
contents of the array at that index.  For iterating through a list, only
the list element is necessary.
vswitchd/bridge.c