Re: [PATCH v2 net-next 2/5] net: bridge: Implement bridge flood flag
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-03-16 20:06:47
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-03-16 20:06:47
On Wed, 16 Mar 2022 16:30:56 +0100 Mattias Forsblad wrote:
This patch implements the bridge flood flags. There are three different flags matching unicast, multicast and broadcast. When the corresponding flag is cleared packets received on bridge ports will not be flooded towards the bridge. This makes is possible to only forward selected traffic between the port members of the bridge.
net/bridge/br.c: In function ‘br_flood_toggle’:
net/bridge/br.c:347:33: warning: unused variable ‘bm’ [-Wunused-variable]
347 | struct br_boolopt_multi bm;
| ^~