[dpdk-dev] [PATCH v4] net/e1000: add null point check for rte_zmalloc

Zhang, Helin helin.zhang at intel.com
Fri Jan 26 10:30:14 CET 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Lu, Wenzhuo
> Sent: Friday, January 26, 2018 4:41 PM
> To: Yong Wang
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v4] net/e1000: add null point check for
> rte_zmalloc
> 
> Hi,
> 
> 
> > -----Original Message-----
> > From: Yong Wang [mailto:wang.yong19 at zte.com.cn]
> > Sent: Thursday, January 25, 2018 3:43 PM
> > To: Lu, Wenzhuo <wenzhuo.lu at intel.com>
> > Cc: dev at dpdk.org; Yong Wang <wang.yong19 at zte.com.cn>
> > Subject: [PATCH v4] net/e1000: add null point check for rte_zmalloc
> >
> > There are several func calls to rte_zmalloc() which don't do null
> > point check on the return value. Fix it by adding null point check.
> >
> > Fixes: 22bb13410cb2 ("net/igb: create consistent filter")
> >
> > Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>
> Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
Applied to dpdk-next-net-intel, with commit log changes. Thanks!

/Helin


More information about the dev mailing list