From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC66C45A61; Mon, 30 Sep 2024 07:53:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74A40402BD; Mon, 30 Sep 2024 07:53:17 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 5A1AD40299 for ; Mon, 30 Sep 2024 07:53:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 289F638 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1727675594; bh=IvF9tL9j4f/W9gc/TkosAMfXCbKz+yVldx1viFw7o6g=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nvXFK1CML3XHgl47BJ8vY64+Fv5F/DcqPQIWw39IFn54peh+Rra2v4lxp4XA8MHkd vF06Zb5jPP9DsYorSNB/Y53cWnyfqWNfXEJvC/eYhbmw37zoB++E8zP51EFdNckmXx +xmaua+dstsvM63YRwZiyzkOMngWoEKPz/zkH0ck= Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 289F638; Mon, 30 Sep 2024 08:53:14 +0300 (MSK) Message-ID: Date: Mon, 30 Sep 2024 08:53:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 09/18] net/sfc: fix use-after-free warning messages To: Stephen Hemminger , dev@dpdk.org Cc: Ivan Malov , Andy Moreton References: <20240927204742.546164-1-stephen@networkplumber.org> <20240929154107.62539-1-stephen@networkplumber.org> <20240929154107.62539-10-stephen@networkplumber.org> Content-Language: en-US From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20240929154107.62539-10-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 9/29/24 18:34, Stephen Hemminger wrote: > If compiler detection of use-after-free is enabled then this drivers > debug messages will cause warnings. Change to move debug message > before the object is freed. > > Bugzilla ID: 1551 > Fixes: 55c1238246d5 ("net/sfc: add more debug messages to transfer flows") > Signed-off-by: Stephen Hemminger > Reviewed-by: Ivan Malov Acked-by: Andrew Rybchenko