bridge: Refactor the stats and status update.
authorAlex Wang <alexw@nicira.com>
Thu, 18 Sep 2014 21:35:30 +0000 (14:35 -0700)
committerAlex Wang <alexw@nicira.com>
Tue, 23 Sep 2014 22:36:59 +0000 (15:36 -0700)
commit9c537baf613a16e3dbd4aa1b58541f0736e9323e
tree2d61869e163d1fdf387cdd42fbc32b17f3ae6044
parente03bce9c9593c6bdbccb288b320fb2fb41f4e8e8
bridge: Refactor the stats and status update.

This commit refactors the stats and status update in bridge_run()
by moving the corresponding code to separate functions.  This
makes the code more organized.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c