diff options
author | Chris Luke <chrisy@flirble.org> | 2016-05-31 10:42:14 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2016-06-01 19:55:56 +0000 |
commit | c79491571fcdb3c77fc7c07c6ea247c14ba3e406 (patch) | |
tree | 01c8baea0bac5ceb00eb2ccca8c3ffdc2ace7d3f /vlib-api/vlibmemory/memory_shared.c | |
parent | 9d6c0ab31158f78976a6ba614a5de09f05305a74 (diff) |
VPP-98 Dedicated storage for VXLAN over IPv6 hash keys
When creating VXLAN over IPv6 the code was using storage for the
hash key that could later be moved. Since the key is larger than
the word size this was being referenced as a pointer; when the
storage moves that breaks the hash.
Instead allocate dedicated storage for the key.
This patch also includes other minor cleanups, including using
clib_memcpy in places it should be used and some whitespace
fixes.
Change-Id: I579f2cb515853ef56dedcca350fcad08aa6111a9
Signed-off-by: Chris Luke <chrisy@flirble.org>
Diffstat (limited to 'vlib-api/vlibmemory/memory_shared.c')
0 files changed, 0 insertions, 0 deletions