From: Tadeusz Struk Date: Mon, 8 Dec 2014 20:03:42 +0000 (-0800) Subject: crypto: algif - Mark sgl end at the end of data X-Git-Tag: fixes-v4.0-rc1~106^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f477b655a52;p=pandora-kernel.git crypto: algif - Mark sgl end at the end of data algif_skcipher sends 127 sgl buffers for encryption regardless of how many buffers acctually have data to process, where the few first with valid len and the rest with zero len. This is not very eficient. This patch marks the last one with data as the last one to process. Signed-off-by: Tadeusz Struk Signed-off-by: Herbert Xu --- Reading git-diff-tree failed