bridge: Skip statistics update if cannot get ovsdb config.
authorAlex Wang <alexw@nicira.com>
Mon, 29 Sep 2014 00:54:17 +0000 (17:54 -0700)
committerAlex Wang <alexw@nicira.com>
Mon, 29 Sep 2014 03:27:34 +0000 (20:27 -0700)
commit3109f49d6eee43693a4e187f0e81ba831b3212a4
tree4d7b224d5e2146898f2f6985049503cc6a93b31f
parent8dba24782fa8a9786184cb24718abbd28e115dd6
bridge: Skip statistics update if cannot get ovsdb config.

Commit 62c5c3e (bridge: Rate limit the statistics update.) makes
ovs try committing the statistics even if ovs failed to get ovsdb
configuration.  This causes the ovs committing the NULL transaction
pointer.

To fix this issue, this commit makes ovs skip statistics update
if it cannot get ovsdb config.

VMware-BZ: #1331308

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