diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2010-04-25 01:21:19 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-05-02 19:16:50 +0400 |
commit | 96b1f96dcab87756c0a1e7ba76bc5dc2add82b88 (patch) | |
tree | 9625a785d543663ba4a97e7fc452a9d77af9a86d /net/sched/sch_drr.c | |
parent | 70b25f890ce9f0520c64075ce9225a5b020a513e (diff) | |
download | linux-96b1f96dcab87756c0a1e7ba76bc5dc2add82b88.tar.xz |
[SCSI] libiscsi: regression: fix header digest errors
This fixes a regression introduced with this commit:
commit d3305f3407fa3e9452079ec6cc8379067456e4aa
Author: Mike Christie <michaelc@cs.wisc.edu>
Date: Thu Aug 20 15:10:58 2009 -0500
[SCSI] libiscsi: don't increment cmdsn if cmd is not sent
in 2.6.32.
When I moved the hdr->cmdsn after init_task, I added
a bug when header digests are used. The problem is
that the LLD may calculate the header digest in init_task,
so if we then set the cmdsn after the init_task call we
change what the digest will be calculated by the target.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'net/sched/sch_drr.c')
0 files changed, 0 insertions, 0 deletions