If kstat_chain_update modifes the chains then pointers stashed in
pmdaCache could become stale or could be reused for other entries.
Chains are frequently updated during boot time which could explain why
this problem has been unnoticed for some time.
Avoid referencing stale kstat entries
If kstat_chain_update modifes the chains then pointers stashed in
pmdaCache could become stale or could be reused for other entries.
Chains are frequently updated during boot time which could explain why
this problem has been unnoticed for some time.