Re: [PATCH] examples/eventdev: Check for the NULL pointer after calling rte_zmalloc

2022-09-13 Thread Jerin Jacob
On Wed, Jul 6, 2022 at 12:54 PM <835703...@qq.com> wrote: > > From: Shiqi Liu <835703...@qq.com> > > As the possible failure of the rte_zmalloc(), the not_checked and > checked could be NULL pointer. > Therefore, it should be better to check it in order to avoid > the dereference of the NULL pointe

[PATCH] examples/eventdev: Check for the NULL pointer after calling rte_zmalloc

2022-07-06 Thread 835703180
From: Shiqi Liu <835703...@qq.com> As the possible failure of the rte_zmalloc(), the not_checked and checked could be NULL pointer. Therefore, it should be better to check it in order to avoid the dereference of the NULL pointer. Fixes: fa8054c8c88 ("examples/eventdev: add thread safe Tx worker p