[ovs-git] [openvswitch/ovs] 0e6eb5: ofp-group: Don't assert-fail decoding bad OF1.5 gr...
noreply at github.com
Sat Jul 7 00:50:52 UTC 2018
Author: Ben Pfaff <blp at ovn.org>
Date: 2018-07-06 (Fri, 06 Jul 2018)
ofp-group: Don't assert-fail decoding bad OF1.5 group mod type or command.
When decoding a group mod, the current code validates the group type and
command after the whole group mod has been decoded. The OF1.5 decoder,
however, tries to use the type and command earlier, when it might still be
invalid. This caused an assertion failure (via OVS_NOT_REACHED). This
commit fixes the problem.
ovs-vswitchd does not enable support for OpenFlow 1.5 by default.
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Yifeng Sun <pkusunyifeng at gmail.com>
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git