[patch 31/38] CKRM e18: Fix a bug in the use of classtype

From: Gerrit Huizenga
Date: Thu Jun 23 2005 - 03:09:22 EST


Fix a bug using classtype

Signed-Off-By: Matt Helsley <matthltc@xxxxxxxxxx>
Signed-Off-By: Gerrit Huizenga <gh@xxxxxxxxxx>

---------------------------------------------------------------------

Index: linux-2.6.12-ckrm1/kernel/ckrm/rbce/rbce_core.c
===================================================================
--- linux-2.6.12-ckrm1.orig/kernel/ckrm/rbce/rbce_core.c 2005-06-20 15:04:53.000000000 -0700
+++ linux-2.6.12-ckrm1/kernel/ckrm/rbce/rbce_core.c 2005-06-20 15:37:50.000000000 -0700
@@ -60,7 +60,7 @@ rbce_class_deletecb(const char *classnam
#endif
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

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/