Fix for bootstrap crash when VPP compiled with gcc-7

See issue VPP-964

Change-Id: I2aed5abdc02e47e7bb5b0ce78cb6589a1ce7302f
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
This commit is contained in:
Marco Varlese
2017-08-29 14:04:06 +02:00
committed by Neale Ranns
parent 50b60ebcc3
commit 47501da34f

View File

@ -393,7 +393,7 @@ mfib_entry_alloc (u32 fib_index,
{
mfib_entry_t *mfib_entry;
pool_get(mfib_entry_pool, mfib_entry);
pool_get_aligned(mfib_entry_pool, mfib_entry, CLIB_CACHE_LINE_BYTES);
fib_node_init(&mfib_entry->mfe_node,
FIB_NODE_TYPE_MFIB_ENTRY);