git: 98e34e8e2557 - main - ntp: Undo upstream (ntp.org) fix for upstream Bug 3851
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Dec 2024 22:38:02 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=98e34e8e255767e18dd8a6c348cff8bfc01b2662
commit 98e34e8e255767e18dd8a6c348cff8bfc01b2662
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-12-23 22:30:58 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-12-23 22:37:34 +0000
ntp: Undo upstream (ntp.org) fix for upstream Bug 3851
The patch for upstream (ntp.org) fix for upstream Bug 3851 may have
fixed a Linux bug but it caused a regression when ntpd is run on
FreeBSD.
Suggested that so@ publish an errata and merge this to releng/14.2.
PR: 283116
MFH: 3 days
---
contrib/ntp/ntpd/ntp_proto.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/ntp/ntpd/ntp_proto.c b/contrib/ntp/ntpd/ntp_proto.c
index 170294c68bb6..f9605b8feacb 100644
--- a/contrib/ntp/ntpd/ntp_proto.c
+++ b/contrib/ntp/ntpd/ntp_proto.c
@@ -471,6 +471,7 @@ transmit(
return;
}
+#if 0
/* [Bug 3851] drop pool servers which can no longer be reached. */
if (MDF_PCLNT & peer->cast_flags) {
if ( (IS_IPV6(&peer->srcadr) && !nonlocal_v6_addr_up)
@@ -479,6 +480,7 @@ transmit(
return;
}
}
+#endif
/*
* In unicast modes the dance is much more intricate. It is