This patch fixes a crash problem in rbce when a class is deleted
authorMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 5 Nov 2004 09:56:50 +0000 (09:56 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 5 Nov 2004 09:56:50 +0000 (09:56 +0000)
commitfd0d3e5ad6f06574e4ebfacaa08c59d53131f1bf
treef8770f2921a7e525cb6469a9f8cf4b58912b648a
parenta8ede861c9fe87b13f5e17e7dd5aeb614b8286cf
This patch fixes a crash problem in rbce when a class is deleted

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)
kernel/ckrm/rbce/rbcemod.c