vxlan: dont migrate permanent fdb entries during learn
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 11 Jun 2017 23:32:50 +0000 (16:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jun 2017 15:01:00 +0000 (11:01 -0400)
commite0090a9e979de5202c7d16c635dea2f005221073
treeeda81ba30edaad64b39673c295824fe308847237
parent63a2f310d040a4e42f92d60762c8965cd6f2a5ed
vxlan: dont migrate permanent fdb entries during learn

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>
drivers/net/vxlan.c