# Re: \[PATCH v5 net-next 05/14\] bridge: Add filling forward path from port to port

- From: Nikolay Aleksandrov \<razor@blackwall.org\>
- Date: 2025-02-06 14:21:46 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/02/2914655
- Thread: https://ratatoskr.run/netdev/2025/02/2911789/t.md

```text
On 2/4/25 21:49, Eric Woudstra wrote:
> If a port is passed as argument instead of the master, then:
> 
> At br_fill_forward_path(): find the master and use it to fill the
> forward path.
> 
> At br_vlan_fill_forward_path_pvid(): lookup vlan group from port
> instead.
> 
> Signed-off-by: Eric Woudstra <redacted>
> ---
>  net/bridge/br_device.c  | 19 ++++++++++++++-----
>  net/bridge/br_private.h |  2 ++
>  net/bridge/br_vlan.c    |  6 +++++-
>  3 files changed, 21 insertions(+), 6 deletions(-)
> 

Acked-by: Nikolay Aleksandrov <razor@blackwall.org>

```
