Skip to content

Commit

Permalink
fix review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
  • Loading branch information
KeithWiles committed Aug 1, 2023
1 parent d8c9cc2 commit 53f60b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/cnet/cnet/cnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ cnet_stop(void)
if (cnet && cnet_lock()) {
cnet_drv_destroy(cnet);
cnet_route4_destroy(cnet);
cnet_route6_destroy(cnet);
cnet_arp_destroy(cnet);
cnet_nd6_destroy(cnet);
cnet_netlink_destroy(cnet);

vec_free(cnet->chnl_descriptors);
vec_free(cnet->stks);
vec_free(cnet->drvs);
vec_free(cnet->netifs);
Expand Down
4 changes: 4 additions & 0 deletions lib/cnet/protosw/cnet_protosw.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
#include "cnet_protosw.h"
#include "cne_log.h" // for CNE_LOG, CNE_LOG_DEBUG, CNE_LOG_WARNING

/**
* This module manages the list of "protocol switch" structures, each of which
* corresponds to a channel type, e.g. {AF_INET, AF_INET6, SOCK_DGRAM, IPPROTO_UDP, IPPROTO_TCP}.
*/
static struct protosw_entry *
cnet_protosw_match(uint16_t domain, uint16_t type, uint16_t proto)
{
Expand Down

0 comments on commit 53f60b1

Please sign in to comment.