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

Ferruh Yigit ferruh.yigit at intel.com
Wed Aug 23 12:37:30 CEST 2017


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
>> add judge the return is NULL or success.
>>
>> Signed-off-by: Rongqiang XIE <xie.rongqiang at zte.com.cn>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list