diff options
author | Marco Varlese <marco.varlese@suse.com> | 2017-08-29 14:04:06 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-08-29 15:07:19 +0000 |
commit | 47501da34fbd10e40ad0e6102a3c9b1ce82834ad (patch) | |
tree | b97301f0550e57aac20839add1ccb76e2a5c0a03 /src/vnet/mfib/mfib_entry.c | |
parent | 50b60ebcc306b162a5d7b0916830638a2e99d378 (diff) |
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>
Diffstat (limited to 'src/vnet/mfib/mfib_entry.c')
-rw-r--r-- | src/vnet/mfib/mfib_entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/mfib/mfib_entry.c b/src/vnet/mfib/mfib_entry.c index b37f88254bc..804e10ab0e2 100644 --- a/src/vnet/mfib/mfib_entry.c +++ b/src/vnet/mfib/mfib_entry.c @@ -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); |