FreeBSD/sys/netpfil/ipfw/ip_fw_table.c
/*
 * Destroys table state and config.
 */
Destroys table state and config.
Destroys table state and config .
static void
free_table_config(struct namedobj_instance *ni, struct table_config *tc)
{
	KASSERT(tc->linked == 0, ("free() on linked config"));
	tc->ta->destroy(tc->astate, &tc->ti_copy);
	free(tc, M_IPFW);
}
static void free_table_config ( struct namedobj_instance * ni , struct table_config * tc ) { KASSERT ( tc -> linked == 0 , ( " " ) ) ; tc -> ta -> destroy ( tc -> astate , & tc -> ti_copy ) ; free ( tc , M_IPFW ) ; }
Destroys table state and config.
Destroys table state and config .
/* UH lock MUST NOT be held */ /*
	 * We're using ta without any locking/referencing.
	 * TODO: fix this if we're going to use unloadable algos.
	 */