Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1599194pxb; Thu, 4 Feb 2021 18:08:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeucidn7Fl5gEheNU72T73qb7S1qY92Vi+1lfj0R+Ay/dBe5t7LXZc2YK+UmmfhTPDfzwu X-Received: by 2002:a17:907:2130:: with SMTP id qo16mr1765573ejb.537.1612490900650; Thu, 04 Feb 2021 18:08:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612490900; cv=none; d=google.com; s=arc-20160816; b=FYV8sTf2k8pEqnW0KzRjjF9fFk7cygJmcdxVF/WzaD4MifNWeshAgtcy0ozoHrdZ1X ch4ITm43zSXO37scm0YQYeG9XEmylrE0KgCpHIeEsuNT1NAopVPrF/UN7LBdQ/2Y+KqB Ej6dGp+aMrlXzjVhrWspIr5+q1cYi3xts3uOKAwS+ZPq7foEiDgkF0250u+UTSkSMOVm 1M3+viCJT51o7APpGjyLmbNY3lHLBne5C9FOkoN9fCrFsOO0my2kBoQ4luGtyn57G8Jz V8ouuiJT9+SH3FCQXVRC8m1ntsm1R0nd/8612EI/HVNppKbTcfYi2VOYamBeVo0Ls+Xd iYBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=YMT63VbxImy5hkO2j9dmuXxMPD8dI6fndqCd2bRaRno=; b=iNHX5mzIvwI0NMGw6N4zNgPUP8qru8cYcz6Vn8HAXyOV/VBiTSMWY/bzLy8PBOrmK3 w0SO1sldnFFBjZ6pKQEeXwd/dr+vj4mFIIj91xsyVuqQBzAoLqhjNXaYaSsz3XGLfMRy nrgqJu/Kni98JT48NUr0PrhrnQ8D37oLtJ/4Yi19kfKEiyS6ISvvGR1wP2oe9k9KJ5F4 vvez1QvvSUTsRDRJIJHo6jMnN4dxDiEekzcvFUpCOGED/rWspSpxXsjyV1sQyl9NiX2L aRCVFbyuTklCUoRozhYncYaQqbwunGgI22iDsPQPoDMTnzQ42tpvg1dUCgEZQa97UElz xyoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tu6SJbXU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co21si4408420edb.165.2021.02.04.18.07.56; Thu, 04 Feb 2021 18:08:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tu6SJbXU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbhBEB5O (ORCPT + 99 others); Thu, 4 Feb 2021 20:57:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:40610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbhBEB5N (ORCPT ); Thu, 4 Feb 2021 20:57:13 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D19C264DC4; Fri, 5 Feb 2021 01:56:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612490190; bh=ZlbTbixiZ/VEvhe2cB1BDy9leTlPGZZcyvIJqx6f2UI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tu6SJbXUsHBFLZamGifs83f3CijLyOjFBee5L2c4iFeuoBlcqfKvKIhvZc3L22Z+R tj4OtzBNvXCd1gkay1lHs/nd57rPGEKXSgmcitvQJXpqPVESKx7TaT9aWCvHxfyh2C OyTPEq5RzCUwfuqgsZjB9f7ng3IutikF/4Ce+tym0NfiWfuPmmdETry1Hco4C8u2kN 1Z+wjDtqiMrg0kz/fDOSsnZ/MxzHEO6WHMBtOinAwVe5DoAXBo6xc6PbgQAIbqFkGv VhYGfuPZusMTknZUlZiZpuAFqgJZPFbNt3gXaqN1e+SUFquG0GafJv6BIFuRLsnot2 BkL2UbiwyKmNQ== Date: Thu, 4 Feb 2021 17:56:28 -0800 From: Jakub Kicinski To: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Cc: xen-devel@lists.xenproject.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Wei Liu , Paul Durrant , "David S. Miller" , Igor Druzhinin , stable@vger.kernel.org Subject: Re: [PATCH] xen/netback: avoid race in xenvif_rx_ring_slots_available() Message-ID: <20210204175628.7904d1da@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: References: <20210202070938.7863-1-jgross@suse.com> <20210203154800.4c6959d6@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Feb 2021 06:32:32 +0100 J=C3=BCrgen Gro=C3=9F wrote: > On 04.02.21 00:48, Jakub Kicinski wrote: > > On Tue, 2 Feb 2021 08:09:38 +0100 Juergen Gross wrote: =20 > >> Since commit 23025393dbeb3b8b3 ("xen/netback: use lateeoi irq binding") > >> xenvif_rx_ring_slots_available() is no longer called only from the rx > >> queue kernel thread, so it needs to access the rx queue with the > >> associated queue held. > >> > >> Reported-by: Igor Druzhinin > >> Fixes: 23025393dbeb3b8b3 ("xen/netback: use lateeoi irq binding") > >> Cc: stable@vger.kernel.org > >> Signed-off-by: Juergen Gross =20 > >=20 > > Should we route this change via networking trees? I see the bug did not > > go through networking :) >=20 > I'm fine with either networking or the Xen tree. It should be included > in 5.11, though. So if you are willing to take it, please do so. All right, applied to net, it'll most likely hit Linus's tree on Tue. Thanks!