/* Removed a frag list from tracking datastructures and frees list heap * memory. */ static void ipf_list_clean(struct hmap *frag_lists, struct ipf_list *ipf_list) /* OVS_REQUIRES(ipf_lock) */ { ovs_list_remove(&ipf_list->list_node); hmap_remove(frag_lists, &ipf_list->node); free(ipf_list->frag_list); free(ipf_list); }
static void oftrace_node_list_destroy(struct ovs_list *nodes) { if (nodes) { struct oftrace_node *node, *next; LIST_FOR_EACH_SAFE (node, next, node, nodes) { ovs_list_remove(&node->node); oftrace_node_destroy(node); } }
static void ipf_reassembled_list_remove(struct reassembled_pkt *rp) /* OVS_REQUIRES(ipf_lock) */ { ovs_list_remove(&rp->rp_list_node); }
static void ipf_expiry_list_remove(struct ipf_list *ipf_list) /* OVS_REQUIRES(ipf_lock) */ { ovs_list_remove(&ipf_list->list_node); }