vxlan: don't flush static fdb entries on admin down
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 24 Jan 2017 04:44:32 +0000 (20:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 20:01:57 +0000 (15:01 -0500)
commit8b3f9337e17aaf710c79e65fd0a3c572a075f498
treeecdd22bb295bc745f806446d9636c5d4bcc474d1
parenta824d0b83109eb3e3ad44c489543831bc15f7166
vxlan: don't flush static fdb entries on admin down

This patch skips flushing static fdb entries in
ndo_stop, but flushes all fdb entries during vxlan
device delete. This is consistent with the bridge
driver fdb

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c