[Stgt-devel] [PATCH] iscsi fix xmit param

Pete Wyckoff pw
Tue Sep 18 17:21:50 CEST 2007


tomof at acm.org wrote on Sat, 15 Sep 2007 09:29 +0900:
> I still don't see what you mean. tgt works with initiators doesn't
> provide MaxRecvDataSegmentLength during login. Can you try the
> attached patches.

You are right.  It was these lines in text_check_param that I was
not understanding:

	if (i == ISCSI_PARAM_MAX_XMIT_DLENGTH) {
		if (p[i].val > session_keys[i].def)
			p[i].val = session_keys[i].def;
		p[i].state = KEY_STATE_DONE;
		continue;
	}

Patch already dropped.

		-- Pete



More information about the stgt mailing list