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 C01871A281 for ; Sat, 4 Nov 2023 13:30:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d/jkbv8t" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 322F8C433C8; Sat, 4 Nov 2023 13:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699104603; bh=HfpAese7HNiucJjcRMtNzyEWq/Bw/yqeBhgi075sAv0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d/jkbv8trJ9USolJjhEX4II5rBo0nPFIqmpLykt47y89Z1mnGhh+We1jMv9mt56jV D4LDzS+nHV6EO/XRdSwrLDDZuBCDQ4/6idCpsM/n64X98CtwiUSlxThLBdsduINUnG nW0E60HQtdQmArGIWPLy5KdKEEn5w4A6FBF8I/tW7o3FjK6tGymXhH+Fh0y+aNd/iY F5u61sCoy1E2JaPKpVk6VP4CSZ8FOYtdrmawyjkwJ5MlE5HZc5P3FknX/WbzEcL/f7 A82NvatnYfWZ/qiU6K3XFFmnXyfd+G3C5I8OXA6K4m9p2YJOL0dVPwt87qI8ULnM4y agZscCiZ1FZ1w== Date: Sat, 4 Nov 2023 09:29:47 -0400 From: Simon Horman To: Michal Schmidt Cc: netdev@vger.kernel.org, Dave Ertman , Daniel Machon , Tony Nguyen , Jesse Brandeburg , intel-wired-lan@lists.osuosl.org Subject: Re: [PATCH net] ice: lag: in RCU, use atomic allocation Message-ID: <20231104132947.GC891380@kernel.org> References: <20231023105953.89368-1-mschmidt@redhat.com> 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: <20231023105953.89368-1-mschmidt@redhat.com> On Mon, Oct 23, 2023 at 12:59:53PM +0200, Michal Schmidt wrote: > Sleeping is not allowed in RCU read-side critical sections. > Use atomic allocations under rcu_read_lock. > > Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface") > Fixes: 41ccedf5ca8f ("ice: implement lag netdev event handler") > Fixes: 3579aa86fb40 ("ice: update reset path for SRIOV LAG support") > Signed-off-by: Michal Schmidt Reviewed-by: Simon Horman