Re: [PATCH net] bridge: guard local VLAN-0 FDB helpers against NULL vlan group

Jakub Kicinski <[email protected]>
Newsgroups gmane.linux.network.bridge
Message-ID <[email protected]>
On Wed,  1 Apr 2026 08:48:24 -0700 Zijing Yin wrote:
> When CONFIG_BRIDGE_VLAN_FILTERING is not set, br_vlan_group() and
> nbp_vlan_group() return NULL (br_private.h stub definitions). The
> BR_BOOLOPT_FDB_LOCAL_VLAN_0 toggle code is compiled unconditionally and
> reaches br_fdb_delete_locals_per_vlan_port() and
> br_fdb_insert_locals_per_vlan_port(), where the NULL vlan group pointer
> is dereferenced via list_for_each_entry(v, &vg->vlan_list, vlist).

I think you'll need to repost this once more and CC netdev.
I don't think bridge has its own tree.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.