diff options
author | Neale Ranns <nranns@cisco.com> | 2017-02-24 08:29:22 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-02-25 19:21:48 +0000 |
commit | 5a72c1c151f843a962cc1247213c063233e8b119 (patch) | |
tree | 57dbe378f56efbf559e8a036cd445a167c1b92f6 /src/vnet/mfib/ip6_mfib.c | |
parent | b5b2ef594726c4e9b0e14457b4d2019de53372e3 (diff) |
MFIB: changes to improve route add/delete performance
Change-Id: I063d85200d12b09545ae1c373c7fc69112ae3b34
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/mfib/ip6_mfib.c')
-rw-r--r-- | src/vnet/mfib/ip6_mfib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/mfib/ip6_mfib.c b/src/vnet/mfib/ip6_mfib.c index 8f3dae8d7b5..991b91c6498 100644 --- a/src/vnet/mfib/ip6_mfib.c +++ b/src/vnet/mfib/ip6_mfib.c @@ -431,7 +431,7 @@ ip6_mfib_table_entry_insert (ip6_mfib_t *mfib, { ip6_mfib_node_t *i6mn = clib_mem_alloc(sizeof(*i6mn)); - memset(i6mn, 0, sizeof(*i6mn)); + memset(i6mn->i6mn_nodes, 0, sizeof(i6mn->i6mn_nodes)); IP6_MFIB_MK_KEY_MASK(grp, src, len, &i6mn->i6mn_key); i6mn->i6mn_entry = mfib_entry_index; |