1. 29 Jul, 2015 1 commit
    • Ben Pfaff's avatar
      ofproto: Ignore generation ID for role change to "equal". · aa379b44
      Ben Pfaff authored
      The OpenFlow specification says that only role changes to slave or master
      check the generation ID, so this is a bug fix.
      OpenFlow 1.2 section A.3.9 phrases the requirement this way:
          Additionally, if the role value in the message is OFPCR_ROLE_MASTER
          or OFPCR_ROLE_SLAVE, the switch must validate generation_id to check
          for stale messages.
      Found by OFTest.
      Signed-off-by: default avatarBen Pfaff <blp@nicira.com>
  2. 28 Jul, 2015 8 commits
  3. 27 Jul, 2015 1 commit
  4. 24 Jul, 2015 1 commit
  5. 22 Jul, 2015 1 commit
    • Chris J Arges's avatar
      datapath: allocate nr_node_ids flow_stats instead of num_possible_nodes · ab645c8e
      Chris J Arges authored
      Some architectures like POWER can have a NUMA node_possible_map that
      contains sparse entries. This causes memory corruption with openvswitch
      since it allocates flow_cache with a multiple of num_possible_nodes()
      assumes the node variable returned by for_each_node will index into
      Use nr_node_ids to allocate a maximal sparse array instead of
      The crash was noticed after 3af229f2 was applied as it changed the
      node_possible_map to match node_online_map on boot.
      Fixes: 3af229f2071f5b5cb31664be6109561fbe19c861
      Signed-off-by: default avatarChris J Arges <chris.j.arges@canonical.com>
      Signed-off-by: default avatarPravin B Shelar <pshelar@nicira.com>
  6. 21 Jul, 2015 1 commit
    • Flavio Leitner's avatar
      rhel: Fix ifup-ovs to delete ports first. · 9a783536
      Flavio Leitner authored
      When ifdown isn't executed (system didn't shut down properly),
      the interfaces remain in the openvswitch's database.  For the
      internal ports or devices that are available when openvswitch
      service starts that's not an issue.
      However, ovs-vsctl won't do anything for devices created later
      (Linux vlan devices for instance) since they are already in the
      database. That leaves a inconsistency behind because they will
      be left out of the kernel's datapath.
      The ifup/ifdown will operate only on configured interfaces, so
      this patch fixes the issue by deleting the interface from the
      database before attempt to configure it.
      Signed-off-by: default avatarFlavio Leitner <fbl@redhat.com>
      Acked-by: default avatarJiri Benc <jbenc@redhat.com>
      Signed-off-by: default avatarBen Pfaff <blp@nicira.com>
  7. 20 Jul, 2015 3 commits
  8. 16 Jul, 2015 3 commits
  9. 15 Jul, 2015 3 commits
  10. 14 Jul, 2015 1 commit
  11. 13 Jul, 2015 2 commits
  12. 10 Jul, 2015 2 commits
  13. 06 Jul, 2015 4 commits
  14. 02 Jul, 2015 3 commits
  15. 01 Jul, 2015 6 commits