mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-02 21:36:16 +00:00
Start at the proper offset in the receive buffer if sg[0].offset != 0. Return the proper data to the initiator if sg[0].offset != 0. This patch reworks trunk r5281, "iscsi-scst: fix offset calculation", February 13, 2014. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5683 d57e44dd-8a1f-0410-8b47-8ef2f437770f