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=szaBD0fte+oKiYUkfCQ2m6MOhyGzrtuACaYchAl/uGexHsTo1s3Q16zNZBLz1cjmdRyQ eEZTnUI+SWwZOC0a0FsBVD/T1P//mMC5C1jKv0zuKaPxG77+wsIE5eWD+FqdT1z+ZIH0z AQ6ahdZrDvlDvtIVRUzHzLjWY63M+XvMlgiWgBFKsOLds0k7551zbmUrIFezDPwqu5iJS 6Wvr0va0427m70GOWTazIz32h/hMHNkKeLjBufB+q3dh0U1wYq7Dc7PEPVcXwQYNLvJmj gHDPXDWAW+Sgah+AvVq05w7ZciINn6EJ1N3mQPimnF5Xwhka+6w1q82CngzupR+JeiA== 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=rM4ztvEZFgPAKzZPoHTYb2zCaxuasP/VIicud2V4DrHhSXLPwtewYOHVBX3E4fvR4183 r9sK9cJ66arekpeK6AtE6uqQ96zJU+Q3J4GPAs69Oc5Zln15qFQebIicT0VXXBGq7z7Wm adfF6Gz4Aio7k1pUbN+Kf0ABEJt25b5bpUCQPyhlzlKKWOFGk21Xi9RFWMgjPH9HbDmER HqrQDR5ZCgB9dGV5OiKN4Nrtr9+EUadMTAF7SN9mak8nKMqrAPHp60KUfVUtuUdx4TZMc NLKcM1TCrjNWH4ZoYHO7j/SPDSPfCPQyZd/l86xf85JZhrPDmqSaSnu4Gx8We9CuDCw== 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 E67D4606A32C for ; Thu, 3 Dec 2026 15:23:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E67D4606A32C 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 1A7D21B67F8EF 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: linux-kernel@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