[ovs-git] [openvswitch/ovs] 62e2e7: ofproto-dpif-xlate: fix for group liveness propaga...

GitHub noreply at github.com
Wed May 11 21:41:00 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 62e2e74667e5eb87b6e93395022498e3b5d1d575
      https://github.com/openvswitch/ovs/commit/62e2e74667e5eb87b6e93395022498e3b5d1d575
  Author: László Sürü <laszlo.suru at ericsson.com>
  Date:   2016-05-11 (Wed, 11 May 2016)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: fix for group liveness propagation

According to OpenFlow v1.3.5 specification a group is considered live,
if it has at least one live bucket in it.  (6.5 Group Table
Modification Messages: "A group is considered live if a least one of
its buckets is live.")

However, OVS implementation incorrectly returns group as live when no
live bucket is found in group_is_alive() function of
ofproto-dpif-xlate.c.

Instead it should return true only if a live bucket is found (that is
!= NULL).

Signed-off-by: László Sűrű <laszlo.suru at ericsson.com>
Co-authored-by: Jan Scheurich <jan.scheurich at ericsson.com>
Signed-off-by: Jan Scheurich <jan.scheurich at ericsson.com>
Acked-by: Jarno Rajahalme <jarno at ovn.org>




More information about the git mailing list