Bug 274446 - dns/unbound: unbound stop working - infinite loop in comm_point_send_udp_msg()
Summary: dns/unbound: unbound stop working - infinite loop in comm_point_send_udp_msg()
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Cy Schubert
URL: https://bugs.freebsd.org/bugzilla/sho...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2023-10-13 02:09 UTC by Cy Schubert
Modified: 2023-10-14 00:20 UTC (History)
2 users (show)

See Also:
fernape: maintainer-feedback+


Attachments
dns/unbound: Fix loop when ENOBUFS is returned (5.95 KB, patch)
2023-10-13 02:09 UTC, Cy Schubert
cy: maintainer-approval? (jaap)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert freebsd_committer freebsd_triage 2023-10-13 02:09:10 UTC
Created attachment 245595 [details]
dns/unbound: Fix loop when ENOBUFS is returned

See base PR/274352. Same patch for same issue in the port.
Comment 1 Jaap Akkerhuis 2023-10-13 09:37:59 UTC
Yes, fine with me
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2023-10-13 12:02:52 UTC
^Triage: tags in title are deprecated
^Triage: reporter is committer, assign accordingly
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-10-13 13:23:22 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05c229e187e0dd8d812db2ebb10f74ca1c423efc

commit 05c229e187e0dd8d812db2ebb10f74ca1c423efc
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-10-13 02:04:20 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-10-13 13:21:05 +0000

    dns/unbound: Fix loop when ENOBUFS is returned

    - Fix send of udp retries when ENOBUFS is returned. It stops looping
      and also waits for the condition to go away. Reported to upstream
      by Florian Obser.

    PR:             274352, 274446
    Approved by:    jaap@NLnetLabs.nl (maintainer)
    MFH:            2023Q4

 dns/unbound/Makefile                     |   1 +
 dns/unbound/files/patch-netevent.c (new) | 159 +++++++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-10-14 00:18:27 UTC
A commit in branch 2023Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0706b7c3f62cdf724ca43d361918932202a91fe3

commit 0706b7c3f62cdf724ca43d361918932202a91fe3
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-10-13 02:04:20 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-10-13 23:55:41 +0000

    dns/unbound: Fix loop when ENOBUFS is returned

    - Fix send of udp retries when ENOBUFS is returned. It stops looping
      and also waits for the condition to go away. Reported to upstream
      by Florian Obser.

    PR:             274352, 274446
    Approved by:    jaap@NLnetLabs.nl (maintainer)

    (cherry picked from commit 05c229e187e0dd8d812db2ebb10f74ca1c423efc)

 dns/unbound/Makefile                     |   1 +
 dns/unbound/files/patch-netevent.c (new) | 159 +++++++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)
Comment 5 Cy Schubert freebsd_committer freebsd_triage 2023-10-14 00:20:03 UTC
Fixed.