Project

General

Profile

Actions

Bug #6937

closed

STMF kstat free is using an improper size for kmem_free().

Added by Dan McDonald about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
comstar - iSCSI/FC/SAS target
Start date:
2016-04-27
Due date:
% Done:

0%

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).

Actions #1

Updated by Dan McDonald about 5 years ago

  • Status changed from New to Closed

Shoot. Bug tracker filed this twice. Using #6938 instead.

Actions

Also available in: Atom PDF