Re: [dpdk-dev] [PATCH] net/ixgbe:fix some bugs about rte zmalloc memory may NULL

2017-08-23 Thread Ferruh Yigit
On 8/23/2017 11:36 AM, Ferruh Yigit wrote: > On 8/22/2017 12:49 PM, Rongqiang XIE wrote: >> In the function ixgbe_flow_create(), the value ntuple_filter_ptr, >> ethertype_filter_ptr,syn_filter_ptr,fdir_rule_ptr and l2_tn_filter_ptr >> use rte_zmalloc() malloc memory may return NULL,so, we should >>

Re: [dpdk-dev] [PATCH] net/ixgbe:fix some bugs about rte zmalloc memory may NULL

2017-08-23 Thread Ferruh Yigit
On 8/22/2017 12:49 PM, Rongqiang XIE wrote: > In the function ixgbe_flow_create(), the value ntuple_filter_ptr, > ethertype_filter_ptr,syn_filter_ptr,fdir_rule_ptr and l2_tn_filter_ptr > use rte_zmalloc() malloc memory may return NULL,so, we should > add judge the return is NULL or success. > > Si

[dpdk-dev] [PATCH] net/ixgbe:fix some bugs about rte zmalloc memory may NULL

2017-08-22 Thread Rongqiang XIE
In the function ixgbe_flow_create(), the value ntuple_filter_ptr, ethertype_filter_ptr,syn_filter_ptr,fdir_rule_ptr and l2_tn_filter_ptr use rte_zmalloc() malloc memory may return NULL,so, we should add judge the return is NULL or success. Signed-off-by: Rongqiang XIE --- drivers/net/ixgbe/ixgbe