Re: [dpdk-dev] [PATCH 1/1] net/i40e: check return value of rte_zmalloc

2017-03-27 Thread Zhang, Helin
c: Wu, Jingjing ; dev@dpdk.org; wangyunjian > ; Lilijun (Jerry) ; > Zhoujingbin > Subject: [dpdk-dev] [PATCH 1/1] net/i40e: check return value of rte_zmalloc I think it can be a bug fix, so please start with 'fix' in the title. > > Hi helin, > > There is a bug wit

Re: [dpdk-dev] [PATCH 1/1] net/i40e: check return value of rte_zmalloc

2017-03-27 Thread Ferruh Yigit
On 3/25/2017 12:30 PM, caihe wrote: > Hi helin, > > There is a bug without check the return value of alloc memory in function > i40evf_add_del_all_mac_addr, > if we should fix it as below: Hi Caihe, Thank you for the patches. There are a few details to pay attention while sending patches, can

[dpdk-dev] [PATCH 1/1] net/i40e: check return value of rte_zmalloc

2017-03-25 Thread caihe
Hi helin, There is a bug without check the return value of alloc memory in function i40evf_add_del_all_mac_addr, if we should fix it as below: diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 55fd344..37ea7ac 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c