Subject: Re: bin/36351 (iscsi-target can reference the wrong file for a target)
To: None <,,,>
From: None <>
List: netbsd-bugs
Date: 12/10/2007 22:35:48
Synopsis: iscsi-target can reference the wrong file for a target

Responsible-Changed-From-To: bin-bug-people->agc
Responsible-Changed-When: Mon, 10 Dec 2007 22:35:46 +0000
agc took responsibility for this one

State-Changed-From-To: open->closed
State-Changed-When: Mon, 10 Dec 2007 22:35:46 +0000
Greg Oster found the problem, and we have finally squished this bug
in -current (and in the netbsd-iscsi-target package with version
20071205 and later).

The fix is in version 1.35 of src/dist/iscsi/src/disk.c:

        Module Name:    src
        Committed By:   oster
        Date:           Tue Dec  4 16:25:37 UTC 2007

        Modified Files:
                src/dist/iscsi/src: disk.c

        Log Message:
        Set "lun = sess->d" early on (but not too early), and allow multiple
        targets to now work correctly.  XXX: This will need to be re-visited
        at some point, and fixed properly.

        Commit requested by: agc

        To generate a diff of this commit:
        cvs rdiff -r1.34 -r1.35 src/dist/iscsi/src/disk.c