From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id C80C7160 for ; Sat, 14 Oct 2017 00:33:16 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6224C20C26; Fri, 13 Oct 2017 18:33:16 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 13 Oct 2017 18:33:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=WaSj0+pAlX6QgvVmO9YVap9Uf4 B/r6MCJdWqrtTBr7Q=; b=nxtqU0Y7BkRoCI5RDQgGFkBj0baXBdmeE/wJ9jSPRO WCXzUy3LF/5oeJJP4ijgVwOnVUFEGgz1X0YSrf4pxpJVFXr/EWXGkWjTPQPac8p7 iYSPGVRbneDAG8gsMacI94sgGALXoZJ1zvVtBBFLULjHxNswiRWlqmJS+b4oivhE 8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=WaSj0+ pAlX6QgvVmO9YVap9Uf4B/r6MCJdWqrtTBr7Q=; b=cPS64QaiGM9VXrkFA0lPty bJRhqN2iajvQGVdFvE4NHj9lyruNXYTf0YlEdB40BLiuck82CT8UkhxVF5D41aCb CXiVX4MPhzn6hdPAPOfWSzshpKzx8OAV/iPO7qsPHQDEpcUrdpM47XvZ6ON0c4si UY+l6LV5iX+MXJxPouEej/5OCqp8c2p/+N6QI7zSbugek2mnJVBfM8jCKdteypk1 1lG91VYUhmQTNuD/EOrF3NgFLexxHrQrP6jHo3D82+vLBuVu+EfyrPgQyedYykTG +Vpr4BMEa7x4rAthHlUadwAkJ/bQ3KBss8Ze6FSYkOnNVlJBOyTzPggGhvFBTQNA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 11FB72479F; Fri, 13 Oct 2017 18:33:16 -0400 (EDT) From: Thomas Monjalon To: Xueming Li Cc: dev@dpdk.org, Sergio Gonzalez Monroy Date: Sat, 14 Oct 2017 00:33:15 +0200 Message-ID: <1693926.zUt58e9Ois@xps> In-Reply-To: <1505489841-71452-1-git-send-email-xuemingl@mellanox.com> References: <20170823022135.169012-1-xuemingl@mellanox.com> <1505489841-71452-1-git-send-email-xuemingl@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples/l2fwd_fork: fix message pool init X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2017 22:33:17 -0000 15/09/2017 17:37, Xueming Li: > Some invalid callback functions are provided to rte_pktmbuf_pool_init() > without their associated data causing a segmentation fault when the > function tries to use it. In this example, those callbacks are not > necessary, they can be safely replaced by NULL pointers. > > Fixes: 95e8005a56e8 ("examples/l2fwd_fork: new app") > > Cc: Sergio Gonzalez Monroy > Signed-off-by: Xueming Li Applied, thanks