[ovs-git] [openvswitch/ovs] fb1922: ofp-actions: Properly interpret "output:in_port".

GitHub noreply at github.com
Mon Jun 12 18:03:04 UTC 2017

  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: fb1922532f4ec72d0572e8b8f1745f645839294e
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M lib/ofp-actions.c
    M tests/ovs-ofctl.at

  Log Message:
  ofp-actions: Properly interpret "output:in_port".

It was being misinterpreted as output:NXM_OF_IN_PORT[].  This
interpretation is incorrect because of OpenFlow rules that say that only
the special form generated by output:in_port (or "in_port" on its own)
actually outputs to the input port.  The interpretation here was a no-op.

Fixes: 21b2fa617126 ("ofp-parse: Allow match field names in actions and brackets in matches.")
Reported-by: nickcooper-zhangtonghao <nic at opencloud.tech>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Jarno Rajahalme <jarno at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list