]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: allow br_fdb_replay to be called for the bridge device
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 29 Jun 2021 14:06:46 +0000 (17:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2021 17:46:23 +0000 (10:46 -0700)
commitb8ae58ec7ed7028590c292e9d895e03d9be56a80
tree2520a8a36fc4ac6beadc7d6dd3e78d0655a8d8bd
parent9022a18b5fc7cdfa76eaafbdd49f053e18817670
net: bridge: allow br_fdb_replay to be called for the bridge device

When a port joins a bridge which already has local FDB entries pointing
to the bridge device itself, we would like to offload those, so allow
the "dev" argument to be equal to the bridge too. The code already does
what we need in that case.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c