Thread (28 messages) 28 messages, 4 authors, 6d ago

Re: [PATCH net-next 01/12] net: bridge: introduce a bridge destination type

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-10-02 19:45:32
Also in: bridge

On Wed, 30 Sep 2026 10:14:00 +0300 Nikolay Aleksandrov wrote:
Add an opaque destination type and helpers for representing bridge port
destinations. Using a separate structure makes raw pointer assignments and
comparisons fail at build time while marking its value member __private
makes sparse warn about accesses that bypass the helpers.
First time I'm seeing the __private thing. FTR feels quite foreign to C.
__bitwise works very nicely for the same thing 🤷️
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help