Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
l2: mark l2 fib uninitialized after clearing
[vpp.git]
/
src
/
vnet
/
l2
/
l2_fib.c
diff --git
a/src/vnet/l2/l2_fib.c
b/src/vnet/l2/l2_fib.c
index
bb4d614
..
c28c23b
100644
(file)
--- a/
src/vnet/l2/l2_fib.c
+++ b/
src/vnet/l2/l2_fib.c
@@
-388,6
+388,8
@@
l2fib_clear_table (void)
if (mp->mac_table_initialized == 0)
return;
+ mp->mac_table_initialized = 0;
+
/* Remove all entries */
BV (clib_bihash_free) (&mp->mac_table);
l2fib_table_init ();