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 5B82632AADC; Tue, 3 Mar 2026 01:47:38 +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=1772502458; cv=none; b=jKrtaI9M7n7N5rpzw+SgIyMIi0WO7JXNlfBdRANoSFXRGyJC23FvBBBAzLH2/n219lK3bU88TBD2iWd7dzr+6LunN/F5oevFqyVKYlwzSqi/VqK4/4eVhTMn4WAN4T41n04LCKl9Tf5QqoL9xVoIAtTQoAJA/oWsrhpRflCZ1uw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772502458; c=relaxed/simple; bh=rPiQldf/P55Jpx9fo5UWgVUBvUEWhrAB1IS9i7ViqGo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g9VZhZlcIhrucFaJlUdlEZQz5zEkPzkGQv9DMxB4EyfS9DswOiMQH5L2QJCCEFJda8gcafjChAbeL3nrUyzZkhbvSPv7ms4ZVq31QT14cu7MXPAN9u8d54uCtiNH7lj2oalKZ3jhceZwngu7lbcb+PNdX5oNyx5IjtXCLExoh1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uD3/L+qm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uD3/L+qm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9161AC19423; Tue, 3 Mar 2026 01:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1772502458; bh=rPiQldf/P55Jpx9fo5UWgVUBvUEWhrAB1IS9i7ViqGo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uD3/L+qmibpXO0s6YbUSog8kpB/dsMVz3x/f8okc2FeIVouHG0MhJp6xvoR1lBkJ6 75/uvRsog835BrfrrBVjCywwjCbHt9iw+zKpDFvxPC+yLISocP6jwwgigFKaqyKbmZ 59umsihifS+Gkf4Xi6vqFEeJJMVOl7ZY+XWGt/BI= Date: Mon, 2 Mar 2026 20:47:26 -0500 From: Greg KH To: Pavel Begunkov Cc: io-uring@vger.kernel.org, axboe@kernel.dk, netdev@vger.kernel.org, stable@vger.kernel.org, Sasha Levin Subject: Re: [PATCH 1/1] io_uring/zcrx: fix post open error handling Message-ID: <2026030215-appetite-drastic-5894@gregkh> References: Precedence: bulk X-Mailing-List: io-uring@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: On Mon, Mar 02, 2026 at 10:15:43PM +0000, Pavel Begunkov wrote: > [ upstream commit 5d540e4508950c674d6feef1d95463d039bbf4f5 ] > > 5d540e4508950 ("io_uring/zcrx: fix post open error handling") fixes some > post queue open problems. Instead of picking all dependencies for that > patch just move post open error handling out of the way, so once a queue > is open we can always report a success. > > Move copy_to_user earlier before open, and xa_store() should already > never fail as the slot is explicitly pre-allocated. > > Signed-off-by: Pavel Begunkov > --- > io_uring/zcrx.c | 20 +++++++++----------- > 1 file changed, 9 insertions(+), 11 deletions(-) What stable kernel(s) is this for? thanks, greg k-h