static void cbq_unbind_filter(struct Qdisc *sch, unsigned long arg)
{
struct cbq_class *cl = (struct cbq_class*)arg;
cl->filters--;
}
This portion of the code clearly indicates that the unbind_tcf function is similar to the put function on a class. The count of the number of filters attached to the class is decremented. For a class to be deleted, this count must be zero.