[ovs-git] Open vSwitch: ofproto-dpif: Zero-out subfacet counters when installation fails. (master)
dev at openvswitch.org
dev at openvswitch.org
Sat Jul 13 01:50:04 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, master has been updated
via cfd5c9eb1d9e94222d954b7f52040cd111b6640e (commit)
from 92fa2e9272a5d2120339f106ba39285d5dac8d44 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cfd5c9eb1d9e94222d954b7f52040cd111b6640e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cfd5c9eb1d9e94222d954b7f52040cd111b6640e
Author: Justin Pettit <jpettit at nicira.com>
ofproto-dpif: Zero-out subfacet counters when installation fails.
When deleting subfacets, subfacet_uninstall() asserts that the
subfacet's counters are zero to make sure we don't lose counters. We
have seen cases where a subfacet cannot be installed, but the counters
have values. This should not happen and indicates a bug, since we
shouldn't create a subfacet if the datapath has a flow. A buggy
datapath could trigger this, so just zero out the counters and log an
error.
Bug #18460.
Signed-off-by: Justin Pettit <jpettit at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
ofproto/ofproto-dpif.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list