]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vxlan: dont migrate permanent fdb entries during learn
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 11 Jun 2017 23:32:50 +0000 (16:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:52:21 +0000 (19:52 +0200)
commite1acea7442a568921dfd79299543002d47a2a6a9
treeb20690ca9d480f3778c5005a9b07a5812f263989
parentb51f16e3172b61434cf7e818a223318dc185f40c
vxlan: dont migrate permanent fdb entries during learn

[ Upstream commit e0090a9e979de5202c7d16c635dea2f005221073 ]

This patch fixes vxlan_snoop to not move permanent fdb entries
on learn events. This is consistent with the bridge fdb
handling of permanent entries.

Fixes: 26a41ae60438 ("vxlan: only migrate dynamic FDB entries")
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/vxlan.c