* Tom Smyth <[email protected]> [2026-11-06 16:07]: > vlan(4) and svlan(4) interfaces can be stacked on each other > without limit. Transmit, SIOCGIFMEDIA and SIOCADDMULTI/ > SIOCDELMULTI recurse once per layer, so on amd64 a stack of a > few dozen vlans (53 to 76 in the tests below, depending on the > operation and the run) overflows the kernel stack (double > fault) as soon as the top vlan is displayed, given an address > or used.
while I'm not necessarily against preventing that... I'm very much inclined to say "don't do that, then". I mean, it just doesn't make sense to stack dozens of vlans/svlans on top of each other, and it's root-only. -- Henning Brauer, [email protected], [email protected] BS Web Services GmbH, http://bsws.de, Full-Service ISP Secure Hosting, Mail and DNS. Virtual & Dedicated Servers, Root to Fully Managed Henning Brauer Consulting, http://henningbrauer.com/
