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

            Bug ID: 240787
           Summary: netgraph/ng_bridge: Unlimited limit of links
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: l...@donnerhacke.de

Created attachment 207757
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207757&action=edit
remove fixed limit for links on netgraph/ng_bridge

The netgraph node ng_bridge has a compile time limit for the number of links,
it can handle.

This patch removes this limit by allocating more links when needed (assuming
sequential assignment).

Please note, that this patch is preliminary. It's only done to allow an
incremental review of the development.

A large number of links require further changes to the code in order to handle
all cases efficient. This includes:
 + replacement of the central "priv->link" table by hook private data
 + replacement of foreach loops by a linked list over looped hooks

In consequence the current requirement to use a compact, sequential assignment
of "link%d" hooks can be replaced by arbitrary naming conventions.

How should I provide the additional patches? A large patch (overwriting the
previous one) or by a series of patches?

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

Reply via email to