From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 03356803E for ; Thu, 18 Dec 2014 23:15:01 +0100 (CET) Received: by mail-wi0-f172.google.com with SMTP id n3so85993wiv.17 for ; Thu, 18 Dec 2014 14:15:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=rso/sTw5IcwwKYrc/YBATw0UpV9WNla5GHaQpQjmnPE=; b=FMT1KNlj/XTLiUesd6reNYVn7jBWtWZOXTrE1QSEjlbqGi1P9du7SAPaPGAVPsfIBv roaQhjFV1TgPcNrRZQMjC6VTVHyObW/Ke/m93avsaq5/PpsuJny1dmOKdOjVsI92yeR3 bDxWHv8iFjJCvc4i2I1SNVyTM98EV9NTJPuhr9Y7MxlUiSWfamxA61ce0XXH/xI88hN9 K3xi+hGcSLOJp5kq9DD0gM+owJqCCZ4zz2BJJSX8dqzkXE0qDS1fh7+XMVLQppLITPFq ga25P1tTNL/TwGTGZvfCjRZU/N1KacHvYUHPDc4svOPEeYzJNvZBVDffwXjujQwBzRjs +Eog== X-Gm-Message-State: ALoCoQnIYL9AzpMK0NbNBA/gYL2puIiwUUW1UKKQF0Jko6bjQtme7rIAFQE/NX2kbHsn0ZbgGfwX X-Received: by 10.180.126.99 with SMTP id mx3mr5040wib.66.1418940900810; Thu, 18 Dec 2014 14:15:00 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id fx6sm10486708wjc.39.2014.12.18.14.14.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 14:15:00 -0800 (PST) From: Thomas Monjalon To: Daniel Mrzyglod Date: Thu, 18 Dec 2014 23:14:33 +0100 Message-ID: <1969747.ZNDn8tQV68@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <20141218211512.GI18008@hmsreliant.think-freely.org> References: <1418895905-915-1-git-send-email-danielx.t.mrzyglod@intel.com> <20141218211512.GI18008@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] af_packet: fix memory allocation check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 22:15:01 -0000 > > 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