Date: Tue, 23 Sep 2025 08:32:58 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyODkxNzddIElQdjYgdGVtcCBhZGRyZXNzKGVzKSB3aXRo?= =?UTF-8?B?IHBsdGltZT0wIGJyaWVmbHkgbG9zZXMgZGVwcmVjYXRlZCBvbiBSQSDihpIg?= =?UTF-8?B?T1MgbWF5IHBpY2sgdGhlIG9sZCBhZGRyZXNzIGFzIHRoZSBzb3VyY2U=?= Message-ID: <bug-289177-7501-ZxbBbx4zrj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-289177-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-289177-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289177 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfb4be8661166e18afa4b10921f7d5fbd2= 2460390 commit fb4be8661166e18afa4b10921f7d5fbd22460390 Author: Andrey V. Elsukov <ae@FreeBSD.org> AuthorDate: 2025-09-16 07:34:55 +0000 Commit: Andrey V. Elsukov <ae@FreeBSD.org> CommitDate: 2025-09-23 08:31:12 +0000 IPv6: fix off-by-one in pltime and vltime expiration checks Previously, the macros used '>' instead of '>=3D' when comparing elapsed time against the preferred and valid lifetimes. This caused any depreca= ted address to become usable again for one extra second after receiving each Router Advertisement. In that short window, the address could be selected as a source for outgoing connections. Update the checks to use '>=3D' so that addresses are deprecated or invalid when their lifetime expires. PR: 289177 Reported by: Dmitry Nexus <fbsd.4f6a at nexus tel> Reviewed by: zlei Submitted by: Marek Zarychta Differential Revision: https://reviews.freebsd.org/D52323 (cherry picked from commit 588a5fad3e8b98955b60707e3e92b8b43566e3f7) sys/netinet6/in6.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289177-7501-ZxbBbx4zrj>