diff options
Diffstat (limited to 'src/vnet/flow')
-rw-r--r-- | src/vnet/flow/flow.c | 2 | ||||
-rw-r--r-- | src/vnet/flow/flow_cli.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/flow/flow.c b/src/vnet/flow/flow.c index c4f57a21965..485a845e5ee 100644 --- a/src/vnet/flow/flow.c +++ b/src/vnet/flow/flow.c @@ -82,7 +82,7 @@ vnet_flow_del (vnet_main_t * vnm, u32 flow_index) /* *INDENT-ON* */ hash_free (f->private_data); - memset (f, 0, sizeof (*f)); + clib_memset (f, 0, sizeof (*f)); pool_put (fm->global_flow_pool, f); return 0; } diff --git a/src/vnet/flow/flow_cli.c b/src/vnet/flow/flow_cli.c index 27f2d386279..0e10c90f55b 100644 --- a/src/vnet/flow/flow_cli.c +++ b/src/vnet/flow/flow_cli.c @@ -278,7 +278,7 @@ test_flow (vlib_main_t * vm, unformat_input_t * input, int rv; u8 prot; - memset (&flow, 0, sizeof (vnet_flow_t)); + clib_memset (&flow, 0, sizeof (vnet_flow_t)); flow.index = ~0; flow.actions = 0; flow.ip4_n_tuple.protocol = ~0; |