[ovs-git] [openvswitch/ovs] d26eda: ofproto: Ignore generation ID for role change to "...

GitHub noreply at github.com
Wed Jul 29 15:06:20 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d26eda9fe399b28b6760e29f14f2500d80319283
      https://github.com/openvswitch/ovs/commit/d26eda9fe399b28b6760e29f14f2500d80319283
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M ofproto/ofproto.c

  Log Message:
  -----------
  ofproto: Ignore generation ID for role change to "equal".

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: Ben Pfaff <blp at nicira.com>




More information about the git mailing list