Bug #6938
STMF kstat free is using an improper size for kmem_free().
Start date:
2016-04-27
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
The registration portion of STMF calls kmem_alloc() with constants for LU kstats (STMF_KSTAT_LU_SZ) and for the port kstats (STMF_KSTAT_TGT_SZ). The corresponding kmem_free() calls, however, are both being fed the kstat's ks_data_size, which breaks on kmem_debug=0xf when ks_data_size is altered (legally, by the kstat subsystem).