X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fbier%2Fbier_fmask_db.c;h=d0f5ba1c18ec1389ed942b380a2e3b2d36b48700;hb=e8ea6be8dfb626b5bb4ff3355ce8037724ce1d83;hp=59e2973b5893ed747aa4c3b59892938c9a7a9452;hpb=586479a73162426a02b2bbc8ab724e0dfb9921e0;p=vpp.git diff --git a/src/vnet/bier/bier_fmask_db.c b/src/vnet/bier/bier_fmask_db.c index 59e2973b589..d0f5ba1c18e 100644 --- a/src/vnet/bier/bier_fmask_db.c +++ b/src/vnet/bier/bier_fmask_db.c @@ -25,7 +25,7 @@ * * The table's key is part of this DB key, since the fmasks therein build up * their forwarding mask based on the routes that resolve through - * it, so cross polination would be bad. + * it, so cross pollination would be bad. */ typedef struct bier_fmask_db_t_ { /** @@ -60,7 +60,7 @@ bier_fmask_db_mk_key (index_t bti, * Depending on what the ID is there may be padding. * This key will be memcmp'd in the mhash, so make sure it's all 0 */ - memset(key, 0, sizeof(*key)); + clib_memset(key, 0, sizeof(*key)); /* * Pick the attributes from the path that make the FMask unique @@ -143,9 +143,9 @@ bier_fmask_db_remove (const bier_fmask_id_t *fmid) if (NULL == p) { /* - * remove a non-exitant entry - oops + * remove a non-existent entry - oops */ - ASSERT (!"remove non-existant fmask"); + ASSERT (!"remove non-existent fmask"); } else { hash_unset(bier_fmask_db.bfdb_hash, fmid); }