Subject: Re: bin/36351 (iscsi-target can reference the wrong file for a target)
To: None <agc@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: None <agc@netbsd.org>
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-By: agc@netbsd.org
Responsible-Changed-When: Mon, 10 Dec 2007 22:35:46 +0000
Responsible-Changed-Why:
agc took responsibility for this one


State-Changed-From-To: open->closed
State-Changed-By: agc@netbsd.org
State-Changed-When: Mon, 10 Dec 2007 22:35:46 +0000
State-Changed-Why:
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