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

GitHub noreply at github.com
Thu Feb 15 16:56:47 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 3a22c066ab692a58b6e7b0e9ffdc108baf9766ef
      https://github.com/openvswitch/ovs/commit/3a22c066ab692a58b6e7b0e9ffdc108baf9766ef
  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