[ovs-git] [openvswitch/ovs] 330184: ofproto-dpif-ipfix: Fix an issue in flow key part

GitHub noreply at github.com
Thu Feb 15 16:55:44 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 33018441033c877aae88232b0522c54efc02a122
      https://github.com/openvswitch/ovs/commit/33018441033c877aae88232b0522c54efc02a122
  Author: Benli Ye <daniely at vmware.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M ofproto/ofproto-dpif-ipfix.c

  Log Message:
  -----------
  ofproto-dpif-ipfix: Fix an issue in flow key part

As struct ipfix_data_record_flow_key_iface didn't calculate
its length in flow key part, it may cause problem when flow
key part length is not enough. Use MAX_IF_LEN and MAX_IF_DESCR
to pre-allocate memory for ipfix_data_record_flow_key_iface.

Signed-off-by: Daniel Benli Ye <daniely at vmware.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list