Actions
Bug #14468
closedpriv value passed to scsi_hba_tgtmap_set_add() is not passed to activate callback
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
Qouting scsi_hba_tgtmap_create(9F): tgtmap_priv A private value to be passed to callback functions
.
Now if I do scsi_hba_tgtmap_set_add(..., priv)
, where priv is some void *
pointer, the void **tgt_privp
argument in activate callback is always NULL
when dereferenced, i.e. tgt_priv
itself is valid pointer, and *tgt_priv
is NULL
.
Related issues
Updated by Bill Sommerfeld 2 months ago
- Is duplicate of Bug #15500: tgtmap(9) tgt_privp doesn't work as advertised added
Actions