VPP-1474: fix coverity warning
[vpp.git] / src / plugins / gbp / gbp_recirc.c
index c44fc21..95e8066 100644 (file)
@@ -46,7 +46,7 @@ gbp_recirc_add (u32 sw_if_index, epg_id_t epg_id, u8 is_ext)
       fib_protocol_t fproto;
 
       pool_get (gbp_recirc_pool, gr);
-      memset (gr, 0, sizeof (*gr));
+      clib_memset (gr, 0, sizeof (*gr));
       gri = gr - gbp_recirc_pool;
 
       gr->gr_epg = epg_id;
@@ -73,7 +73,7 @@ gbp_recirc_add (u32 sw_if_index, epg_id_t epg_id, u8 is_ext)
       }
 
       /*
-       * Packets on the recirculation interface are subjet to src-EPG
+       * Packets on the recirculation interface are subject to src-EPG
        * classification. Recirc interfaces are L2-emulation mode.
        *   for internal EPGs this is via an LPM on all external subnets.
        *   for external EPGs this is via a port mapping.