STMF kstat free is using an improper size for kmem_free().
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).
Updated by Electric Monk almost 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 3c9850a686c2fcba473e4f602616772c17c21dee Author: Dan McDonald <email@example.com> Date: 2016-05-18T02:44:42.000Z 6938 STMF kstat free is using an improper size for kmem_free(). Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Garrett D'Amore <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>