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 D62CE2F3C36 for ; Tue, 21 Oct 2025 11:21:42 +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=1761045702; cv=none; b=Fe4155lDzlZLuqyr7yT+OBMR/aYdfjwI6JDThS0N6DS/wROk3w23Jk32jZqj5jvWhbUNl7Sf2k35ul0+na8QjfReGWQHptrOkQtJycWwZVDGVFoG8oX6/qk10oAqwsp7I5ddBhi6yqJQWzZgaWefdgG6KEl2+iohGpwpe5S417E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761045702; c=relaxed/simple; bh=VAArEVHHcYhpX4k6HMKyM0xWpgVkJtTFVZz+NeeWTsc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iq8yqMWLCQrXXVm94cwqOR1owaXczVyYZ2/DpA7KYlnFcXROFBwxDUpYFY0iK6t9JEBd3nPaPAonZSi77Ag3Zkln7jaz/8wXxjy8G5Lbsg05sjSAzz3ikcJobvMPf2QjunLJqgmjBwTTLR7O0Femlf4/v741G8ZS03XVK8AVsJU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TmaHQXZp; 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="TmaHQXZp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5223AC4CEF1; Tue, 21 Oct 2025 11:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761045702; bh=VAArEVHHcYhpX4k6HMKyM0xWpgVkJtTFVZz+NeeWTsc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TmaHQXZpcPybmgcdrsaYmVcc1b3eo3ccQDAHNDL6e/rluzhMtSQncMdTgqNeyN7D3 GqeueQUDZI+vm/YXCHzR3u6NWfbZGw0IEnc5hUosG4EkCNBb9Yb2F0BO65Ud0pDxB+ sTy2JFXNEMyQ7NNH94nd2aO6ZXcnGzuTopwCtS/0VQ6dXSezM4dED96h0f2rv91Ivf 6lMDsmOrYpF0Ho7sLCHUUwwMNE3SxMDpthifv5HsogRicgugA+PCSe5yuM8SpoxaYx iSK5Yea8dJFuRKhTAYi8Drqqk/L/+4J9TSSkKFyk2F1dmhonxzi1wbu7eIe8WNBmcZ r+iGVlnwfzTXw== Date: Tue, 21 Oct 2025 12:21:38 +0100 From: Simon Horman To: Tonghao Zhang Cc: netdev@vger.kernel.org, Jay Vosburgh , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Andrew Lunn , Nikolay Aleksandrov , Hangbin Liu Subject: Re: [PATCH net-next] net: bonding: use workqueue to make sure peer notify updated Message-ID: References: <20251021052249.47250-1-tonghao@bamaicloud.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: <20251021052249.47250-1-tonghao@bamaicloud.com> On Tue, Oct 21, 2025 at 01:22:49PM +0800, Tonghao Zhang wrote: > The RTNL might be locked, preventing ad_cond_set_peer_notif from acquiring > the lock and updating send_peer_notif. This patch addresses the issue by > using a workqueue. Since updating send_peer_notif does not require high > real-time performance, such delayed updates are entirely acceptable. > > Cc: Jay Vosburgh > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: Simon Horman > Cc: Jonathan Corbet > Cc: Andrew Lunn > Cc: Nikolay Aleksandrov > Cc: Hangbin Liu > Suggested-by: Hangbin Liu > Signed-off-by: Tonghao Zhang > --- > drivers/net/bonding/bond_3ad.c | 7 ++----- > drivers/net/bonding/bond_main.c | 27 +++++++++++++++++++++++++++ > include/net/bonding.h | 2 ++ > 3 files changed, 31 insertions(+), 5 deletions(-) This is not a proper review. So please wait, say a day, for one. But this patch does not apply cleanly to net-next, and thus will need to be rebased and reposted. -- pw-bot: cr