Re: [ovs-dev] [PATCH v1] ofproto-dpif-ipfix: Fix an issue in flow key part

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 01:58:31AM -0800, Daniel Benli Ye wrote: > From: Benli Ye > > 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 >

[ovs-dev] [PATCH v1] ofproto-dpif-ipfix: Fix an issue in flow key part

2018-02-14 Thread Daniel Benli Ye
From: Benli Ye 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: