summaryrefslogtreecommitdiffstats
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-11-21 09:02:37 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-22 02:10:30 +0100
commit0ec566aacc26da9292cddfe7109a467ac8a8d9a6 (patch)
treeb20328f42e50e1076cc6976e834ee83c261a488e /include/net/switchdev.h
parentvxlan: Mark user-added FDB entries (diff)
downloadlinux-0ec566aacc26da9292cddfe7109a467ac8a8d9a6.tar.xz
linux-0ec566aacc26da9292cddfe7109a467ac8a8d9a6.zip
vxlan: Don't override user-added entries with ext-learned ones
When an external learning event collides with an user-added entry, the user-added entry shouldn't be taken over. Otherwise on an unlearn event the entry would be completely lost, even though the user added it by hand. Therefore skip update of FDB flags and state for these cases. This is in accordance with the bridge behavior. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions