[SCSI] cxgb3i: fix ddp map overrun
authorkxie@chelsio.com <kxie@chelsio.com>
Tue, 21 Apr 2009 20:32:35 +0000 (15:32 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:11:07 +0000 (10:11 -0500)
(version 2)

Fixed a bug in calculating ddp map range when search for free entries:
it was going beyond the end by one, thus corrupting gl_skb[0].

Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found