[Bug 291941] ctld regression: /dev/cam/ctl#.# dev nodes no longer created

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Dec 2025 22:06:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291941

--- Comment #1 from Seth Hoffert <seth.hoffert@gmail.com> ---
It should also be noted that the original code was returning 'false' by
default, from the port_is_dummy function, before it got refactored in
6acc7afa34aa5:

bool
port_is_dummy(struct port *port)
 {

       if (port->p_portal_group) {
               if (port->p_portal_group->pg_foreign)
                       return (true);
               if (port->p_portal_group->pg_portals.empty())
                       return (true);
        }
       return (false);
}

Therefore, I think the fix for this is to change struct port's is_dummy() base
method to return false.

-- 
You are receiving this mail because:
You are the assignee for the bug.