]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: include the is_local bit in br_fdb_replay
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 27 Jun 2021 11:54:22 +0000 (14:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 21:09:03 +0000 (14:09 -0700)
commitbc59d9a04856fcc6e3655ff0331e84cce985ecaa
tree5aa475e6a7faa357b92f711c8be375e119f9aca0
parentb6c17adc85faca64aa887c779580167fe9e201b9
net: bridge: include the is_local bit in br_fdb_replay

Since commit a752595eaa23 ("net: bridge: switchdev: include local flag
in FDB notifications"), the bridge emits SWITCHDEV_FDB_ADD_TO_DEVICE
events with the is_local flag populated (but we ignore it nonetheless).

We would like DSA to start treating this bit, but it is still not
populated by the replay helper, so add it there too.

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