[ovs-dev] [PATCH 1/2] ofproto: correct encoding and decoding of group desc properties
blp at nicira.com
Fri Oct 16 15:27:15 UTC 2015
On Fri, Oct 16, 2015 at 07:50:47PM +0900, Simon Horman wrote:
> * encode: if properties are present include their length in
> value of the length field of the group desc
> * decode: use the value of the length field to calculate the length of
> properties rather than assuming that the rest of the message
> is properties. This assumption is not correct as a message
> may contain multiple group descs.
> Fixes: 18ac06d3546e ("ofp-util: Encoding and decoding of (draft) OpenFlow 1.5 group messages.")
> Signed-off-by: Simon Horman <simon.horman at netronome.com>
Applied to master and branch-2.4, thanks Simon!
More information about the dev