--- zzzz-none-000/linux-5.4.213/net/bridge/br.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/net/bridge/br.c 2024-08-14 09:02:13.000000000 +0000 @@ -42,6 +42,10 @@ return notifier_from_errno(err); if (event == NETDEV_REGISTER) { +#ifdef CONFIG_BRIDGE_VLAN_FILTERING + br_vlan_disable_default_pvid(netdev_priv(dev)); +#endif + /* register of bridge completed, add sysfs entries */ err = br_sysfs_addbr(dev); if (err) @@ -394,6 +398,10 @@ br_fdb_fini(); } +/* Hook for bridge event notifications */ +br_notify_hook_t __rcu *br_notify_hook __read_mostly; +EXPORT_SYMBOL_GPL(br_notify_hook); + module_init(br_init) module_exit(br_deinit) MODULE_LICENSE("GPL");