[stgt] [PATCH] iser: Fix bidirectional chap

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Jun 16 00:43:43 CEST 2013


On Wed, 12 Jun 2013 10:38:25 +0300
Shlomo Pongratz <shlomop at mellanox.com> wrote:

> When bidirectional chap is used, after the authentication phase is completed, the next
> message from the target to the initiator should contain only the session parameters.
> Currently it is wrongly prefixed with part of the previous message (which contained
> authentication data). Fix that by initializing tx_pdu->membuf.size to zero before any
> message is created in iser_login_exec.
> 
> Signed-off-by: Shlomo Pongratz <shlomop at mellanox.com>
> ---
>  usr/iscsi/iser_text.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list