Date: Tue, 24 Sep 2019 11:14:16 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240787] netgraph/ng_bridge: Unlimited limit of links Message-ID: <bug-240787-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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: bugs@FreeBSD.org Reporter: lutz@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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240787-227>
