From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/octeontx: fix stop clearing fastpath functions Date: Thu, 02 Aug 2018 10:01:10 +0200 Message-ID: <20741461.PnBBQR08Kh@xps> References: <20180724104350.20652-1-pbhagavatula@caviumnetworks.com> <20180724153903.GC11073@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Jerin Jacob , santosh.shukla@caviumnetworks.com, ferruh.yigit@intel.com To: Pavan Nikhilesh Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 88ABE1B437 for ; Thu, 2 Aug 2018 10:01:17 +0200 (CEST) In-Reply-To: <20180724153903.GC11073@jerin> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > On dev_stop the Rx/Tx_burst functions are being set to NULL, this causes > > a SEGFAULT in cases where control path calls stop and a paket is still > > being processed by a worker. > > Instead clear the fastpath functions in dev_close. > > > > Fixes: da6c687471a3 ("net/octeontx: add start and stop support") > > Cc: stable@dpdk.org > > > > > Signed-off-by: Pavan Nikhilesh > > Acked-by: Jerin Jacob Applied, thanks Renamed "fastpath" to "Rx/Tx" to be more explicit.