https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222512

            Bug ID: 222512
           Summary: [netgraph] ng_con_nodes calls ng_findhook() on
                    unprotected node2
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

ng_con_nodes() receives two nodes are parameters, 'node' is referenced and
locked while 'node2' is just referenced.  Calling ng_findhook(node2) is racy
with any hook modifications of node2.

The call should be removed as the check is also done, and with correct locking,
in ng_con_part2().  It's just a little bit too noisy right now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to