summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2015-05-01 08:23:48 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-05-31 07:42:23 +0200
commit57636388af32c2c7db3919e8d53f4979b7c7c307 (patch)
tree0ce8ebfdf5e3d95b2a6a2a9145964a97f31f9440 /include/target
parenttarget: move node ACL allocation to core code (diff)
downloadlinux-57636388af32c2c7db3919e8d53f4979b7c7c307.tar.xz
linux-57636388af32c2c7db3919e8d53f4979b7c7c307.zip
target: Fix inconsistent address passed to kunmap_atomic() in sbc_dif_copy_prot()
In sbc_dif_copy_prot(), the addresses passed to kunmap_atomic() are inconsistent with the addresses which are mapped by kmap_atomic(). That could be problematic if an SG element has its length larger than PAGE_SIZE as kunmap_atomic() will attempt to unmap different page. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Nicholas Bellinger <nab@linux-iscsi.org> Cc: Sagi Grimberg <sagig@mellanox.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Christoph Hellwig <hch@lst.de> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: target-devel@vger.kernel.org Cc: linux-scsi@vger.kernel.org Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions