From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0DF0223707 for ; Wed, 22 Apr 2026 16:47:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776876425; cv=none; b=EwjYLO8swn1STnGn9goiTettUwHjGsOfN+umrXnCJcPXRatfdZlOVqP0oMT3Id/GrMQy+qvzjXCOZswt/gH0oeWdnLLpeCoDUFr2cKRa6XD6SFHqTte5ZvnHpEX4BbJh9S1z435XHGvWGiLIB+o1BiRoIpZx9vd8LvlLDcxrfA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776876425; c=relaxed/simple; bh=I8t8RTkMnBk+PgfRd8qWXKGoXCX45BEPArwzNaPdUEA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bJXz45cBe+yw067pO3YDxdCVEJzM+XTJwnwWIUZC7hTith8HyOYIrVr1utKQjQuUwQ2YR1X/98nW9ppRppdT0qgEWUzQRYRHvW8GB6NzooMgRpXAO6JH915zujrxEPkAfls8P9iPh+lUzxZOxRCz3i9w1mKBvNDewyeakcU7qFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GSL703Ul; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GSL703Ul" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90FDBC19425; Wed, 22 Apr 2026 16:47:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776876425; bh=I8t8RTkMnBk+PgfRd8qWXKGoXCX45BEPArwzNaPdUEA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GSL703Ul2+Tt5SG3MlOUok3KwhVze8aPcd3RcX44dFVCbrvu26z6JNRLHD5EBcAxX kPMoIyOh85Cb4fRr2/21W4lMSVr2M+1Wsf9GAZpmfSA/asx6V7/XlO007Ov2lwUPOi penS2jrrKVKxLoXhuQYoAlwH5lmYZKYRiSiAp1l+4o9SKf8bLF1vCvl/iY3hU7JCdu DmWImt1Ndaf87G6jJJ2GXWvHXvdNTZa2CPi1LtHVIgy8YKI9RgYHM06D19nrhxQzGa 8UPbT8bC96AKuIIXZ9QAS757e4QdivycUe3c8H1P080Id6o1ESsMz3j9kWC/S3IUMX 7TQcHzYJB50dw== Date: Wed, 22 Apr 2026 17:46:59 +0100 From: Simon Horman To: Kohei Enju Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Choong Yong Liang , Vladimir Oltean , Vinicius Costa Gomes , Chwee-Lin Choong Subject: Re: [PATCH iwl-net v1] igc: set tx buffer type for SMD frames Message-ID: <20260422164659.GP651125@horms.kernel.org> References: <20260417193223.291093-1-kohei@enjuk.jp> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260417193223.291093-1-kohei@enjuk.jp> On Sat, Apr 18, 2026 at 04:31:47AM +0900, Kohei Enju wrote: > Sashiko pointed out that igc_fpe_init_smd_frame() initializes > igc_tx_buffer fields for an SMD skb, but does not set the buffer type: > https://sashiko.dev/#/patchset/20260415025226.114115-1-kohei%40enjuk.jp > > Since igc_tx_buffer entries are reused, a stale XDP or XSK type can > remain and make TX completion use the wrong cleanup path. > > Set the buffer type to IGC_TX_BUFFER_TYPE_SKB. > > Fixes: 5422570c0010 ("igc: add support for frame preemption verification") > Signed-off-by: Kohei Enju Reviewed-by: Simon Horman