Project

General

Profile

Actions

Bug #14468

closed

priv value passed to scsi_hba_tgtmap_set_add() is not passed to activate callback

Added by Yuri Pankov over 1 year ago. Updated 2 months ago.

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

Is duplicate of illumos gate - Bug #15500: tgtmap(9) tgt_privp doesn't work as advertisedClosedHans Rosenfeld

Actions
Actions #1

Updated by Yuri Pankov over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Hans Rosenfeld 2 months ago

  • Status changed from New to Duplicate
Actions #3

Updated by Bill Sommerfeld 2 months ago

  • Is duplicate of Bug #15500: tgtmap(9) tgt_privp doesn't work as advertised added
Actions

Also available in: Atom PDF