[Bug 286260] NFS: sharing only for IPv6 subnet fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 May 2025 01:07:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286260

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=37abcf06f2100eeca41dbd67f8ca8228903ce5e8

commit 37abcf06f2100eeca41dbd67f8ca8228903ce5e8
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2025-05-01 23:17:20 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2025-05-04 01:04:27 +0000

    mountd: Fix updating the network/host(s) for an exports line

    Mountd reloads the exports(5) file(s) when it receives a SIGHUP
    and then compares the old and new exports, updating any ones that
    have changed in the kernel.

    Without this patch, mountd failed to recognize that a network/host(s)
    had changed, if there was no other change to the exports line.
    As such, the change of network/hosts(s) did not take effect until
    the mountd daemon was (re)started.

    This patch fixes the code so that it checks for changes in
    the network/host(s) list for an exports line.

    PR:     286260

    (cherry picked from commit 68daa781c1f12e1cfef768030eaff970c3d35543)

 usr.sbin/mountd/mountd.c | 44 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.