From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] af_packet: fix memory allocation check Date: Thu, 18 Dec 2014 23:14:33 +0100 Message-ID: <1969747.ZNDn8tQV68@xps13> References: <1418895905-915-1-git-send-email-danielx.t.mrzyglod@intel.com> <20141218211512.GI18008@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Daniel Mrzyglod Return-path: In-Reply-To: <20141218211512.GI18008-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > In rte_eth_af_packet.c we are we are missing NULL pointer > > checks after calls to alocate memory for queues. Add checking NULL > > pointer and error handling. > > > > Signed-off-by: Daniel Mrzyglod > > Acked-by: Neil Horman Applied Thanks -- Thomas