[ovs-git] [openvswitch/ovs] 3fbbcb: ofproto: Don't count hidden rules in table stats.

GitHub noreply at github.com
Tue Jan 6 17:28:33 UTC 2015

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3fbbcba77615e6f14d0ee4f8d40b9b4838c2ac20
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-01-06 (Tue, 06 Jan 2015)

  Changed paths:
    M ofproto/connmgr.c
    M ofproto/connmgr.h
    M ofproto/fail-open.c
    M ofproto/fail-open.h
    M ofproto/in-band.c
    M ofproto/in-band.h
    M ofproto/ofproto.c
    M tests/ofproto.at

  Log Message:
  ofproto: Don't count hidden rules in table stats.

The hidden rules created by in-band control and fail-open should not be
included in the table stats reported via OpenFlow.  I seem to recall that
this was done correctly in some previous version but it has broken since
then.  This commit fixes the problem and adds a test that should make it
harder to break again in the future.

Reported-by: Ashok Chippa <a.n.chippa at gmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

More information about the git mailing list