commit | a065fe6aa25ba6ba93c02dc13486131bb3c64d5f | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Tue Apr 14 18:08:13 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed Apr 15 16:07:12 2015 -0400 |
tree | 1f947568457fe28015a016373baedc0212ff315c | |
parent | 30bf1d58ae8e87fef20248c7166777deab0d7f9c [diff] |
IB/iser: Fix wrong calculation of protection buffer length This length miss-calculation may cause a silent data corruption in the DIX case and cause the device to reference unmapped area. Fixes: d77e65350f2d ('libiscsi, iser: Adjust data_length to include protection information') Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>