From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.205.69.214 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796311381; b=UdcNjJmDFxvXmRVnpciB+QqbPyN/6/iYHFfw7rFMPvmxxGJ1esP7NubJv6sPDgT7FRM4 dxDgqs6FpP2t95imzZOWW1M6goZizcmW9qOl9ljZyqKsZICZljaPgiTBFeyy/qgOzbDXe PCj5Ayb0K2cMz9hf6bOjEAgy+tnHA/9QrcnkDpy4x6diJuiYv5JuppSqpt5Zw3FwdyCuY OYNUguRqMSSps+jFDu5hw/ldSeEQjtbbdkoCedTh2UfmMNV6ju7pc2ieCsWjZ9rbA+bfn c/Slt4alR44CkP3EvVbu7jk8tJd332FY3UlSAEkTrCJ7bVBJx0PbT+uGKA2eAHew7dg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796311381; h=DMARC-Filter:Received:DKIM-Signature:Date:From:To:Cc:Message-ID: In-Reply-To:References:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Feedback-ID; bh=84cBGvqP5pGUDkeznJqx+Aurv11klC/lEQHnBKw3ZZw=; b=t/EPV+mBpYkWd5r01PjQIDkn9LlFUYvN8YYF+i2U2IRp5G1+n6L5f7um/4dZsgT6VDFM ogYgIuU+hM80rFv1pYr5gCXsame4uU7vF+lWkKlwtJ4xpqr2xysqWb4fjUMqeJqwvO2RF guxdvOQIiEVSV5oJqiGyE5kaNTe1v65rOjFltY5cMobO/UHgAu2vp6x4+npY2KWcZkuVo ZaicNG2RZCjtC0lZdKo4VB9aEEpHm025KXbsQnUaOPdwuWbtzp5s7YnUGERPWiJke3ZmY 3PL8mFlKIcfHP5sjGshtCtnl/y0lK6Ya8AsWfD7wh08WxjrPshT2gv7RfZUU0jDJvNg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=well-founded.dev; spf=pass smtp.mailfrom=well-founded.dev; dkim=pass header.d=well-founded.dev header.i=@well-founded.dev header.a=rsa-sha256 header.s=s1 header.b=X1AnITiC; arc=none smtp.remote-ip=185.205.69.214 Received: from mail.w14.tutanota.de (mail.w14.tutanota.de [185.205.69.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6800606A32D for ; Thu, 3 Dec 2026 15:23:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E6800606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=well-founded.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=well-founded.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=well-founded.dev header.i=@well-founded.dev header.a=rsa-sha256 header.s=s1 header.b=X1AnITiC Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w14.tutanota.de (Postfix) with ESMTP id 166DD1B67F8EE for ; Thu, 3 Dec 2026 16:22:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1796311378; s=s1; d=well-founded.dev; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender:Feedback-ID; bh=84cBGvqP5pGUDkeznJqx+Aurv11klC/lEQHnBKw3ZZw=; b=X1AnITiCJ/zEEFpAX3BDlQFCnq6vDrbcwSz/BnzXWvJndVOdMBeLMZoh3+/gZfUS FA6xM+691rKvwN2AYjdYq7Y5iBBieheC/NgXD0co7tP8oAKCdq9U7H02tHXDbO7iBj4 RtwPz0q9DM7U7rr3UHm8PgAuyK9RpZg6DALaPyZzAkWSRRSFGdRAW3on2W/Jv3+W1sG 0mPJV5I31kUP4WEjV3dNqBVf8/qpa4iUXFCJV5avN1kdRd37Qt3Z4bbW9V9qtzbqQVx lB41/nnj9WzVIYlPN9iMT5GicaK8ZOi5qqMYIq6MGhSdb9kgWnU5hy9JE+acPxOlgKO hv09Mpxa0Q== Date: Thu, 3 Dec 2026 16:22:58 +0100 (CET) From: Ramses To: Netdev Bot+sashiko Cc: Jv , Andrew+netdev , Davem , Kuba , Pabeni , Jbohac , Edumazet , Willemb , Horms , Netdev , Linux Kernel Mailing List , Linux Kselftest , Razor , Hangbin Liu , Shuah Message-ID: In-Reply-To: <179626889957.3146.496772262611026903@kernel.org> References: <20261201-bonding-arp-reseed-v1-0-984d4a3991cb@well-founded.dev> <20261201-bonding-arp-reseed-v1-1-984d4a3991cb@well-founded.dev> <179626889957.3146.496772262611026903@kernel.org> Subject: Re: [PATCH net-next 1/2] bonding: reseed the ARP monitor when it starts X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Feedback-ID: 0163e381fa67fa966160938ffa017803050e57578bb1735d37cd25d20463a96a9bb3a550250bbc5eaa94bfdfd8cf3defcf1aa43859ae980630826bb8230f264e7f:015d0a5cb0e8a5f43808ced771848fee1ff9468754da0ce49deb9d950ebf71ac5c39d599abc252e5d539386e4b7fbcbac6:tutamail > [Severity: Medium] > > When a slave is not BOND_LINK_UP, this branch moves last_rx and > target_last_arp_rx[] forward to jiffies - (2 * delta + 1) and leaves > last_link_up alone. Can that make slave_last_rx() later than > last_link_up for curr_active_slave? You're right. At enslave time a slave that is not UP cannot be the active one, at reseed time it can. In v2 only a slave that is UP and has carrier gets a fresh seed. The timestamps of the other slaves are only moved back, out of the up window, never forward. > [Severity: Low] > > bond_arp_seed_slave() decides the seed from slave->link alone. v2 also requires netif_carrier_ok() for the fresh seed. > [Severity: Low] > > This isn't a bug, but the commit message says systemd-networkd users > hit this. Should the patch carry a Fixes: tag and Cc: stable? The patch builds on the last_rx series, which is only in net-next, so it targets net-next without a Fixes: tag. > [Severity: Low] > > The new bond_arp_reseed_slaves() has the comment "Call before > recv_probe is set and arp_work is queued." Does this caller always > meet that condition? No, recv_probe stays set after a switch to miimon. With v2 the only slaves that get newer timestamps are UP slaves seeded to jiffies, so a racing receive loses nothing. I updated the comment. pw-bot: cr