From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] examples/l2fwd_fork: fix message pool init Date: Sat, 14 Oct 2017 00:33:15 +0200 Message-ID: <1693926.zUt58e9Ois@xps> References: <20170823022135.169012-1-xuemingl@mellanox.com> <1505489841-71452-1-git-send-email-xuemingl@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Sergio Gonzalez Monroy To: Xueming Li 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) In-Reply-To: <1505489841-71452-1-git-send-email-xuemingl@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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