Problem is that the as part of running the rules_list the class
is effectively deleted through put_class thus the value of cls->classtype
is undefined. Since on entry cls->classtype == classtype use
parameter classtype instead.
Hubertus Frankeh (frankeh@us.ibm.com)
}
notify_class_action(cls, 0);
cls->classobj = NULL;
- list_for_each_entry(pos, &rules_list[cls->classtype], link) {
+ list_for_each_entry(pos, &rules_list[classtype], link) {
rule = (struct rbce_rule *)pos;
if (rule->target_class) {
if (!strcmp