/* ip_vs_app unregistration routine We are sure there are no app incarnations attached to services  */
void unregister_ip_vs_app(struct ip_vs_app *app)
/* ip_vs_app unregistration routine We are sure there are no app incarnations attached to services  */
void unregister_ip_vs_app(struct ip_vs_app *app)
{
	struct ip_vs_app *inc, *nxt;
	mutex_lock(&__ip_vs_app_mutex);
	list_for_each_entry_safe(inc, nxt, &app->incs_list, a_list) {
		ip_vs_app_inc_release(inc);
	}
	list_del(&app->a_list);
	mutex_unlock(&__ip_vs_app_mutex);
	ip_vs_use_count_dec();
}