--- zzzz-none-000/linux-5.4.213/net/bridge/Kconfig 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/net/bridge/Kconfig 2024-05-29 11:20:02.000000000 +0000 @@ -61,3 +61,16 @@ Say N to exclude this support and reduce the binary size. If unsure, say Y. + +config BRIDGE_DEFAULT_FDB_MAX_LEARNED + int "Default FDB learning limit" + default 0 + depends on BRIDGE + help + Sets a default limit on the number of learned FDB entries on + new bridges. This limit can be overwritten via netlink on a + per bridge basis. + + The default of 0 disables the limit. + + If unsure, say 0.