From: Kim Phillips Date: Fri, 15 Jul 2011 03:21:38 +0000 (+0800) Subject: crypto: talitos - ensure request ordering within a single tfm X-Git-Tag: v3.1-rc1~266^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5228f0f79e983c2b39c202c75af901ceb0003fc1;p=pandora-kernel.git crypto: talitos - ensure request ordering within a single tfm Assign single target channel per tfm in talitos_cra_init instead of performing channel scheduling dynamically during the encryption request. This changes the talitos_submit interface to accept a new channel number argument. Without this, rapid bursts of misc. sized requests could make it possible for IPsec packets to be encrypted out-of-order, which would result in packet drops due to sequence numbers falling outside the anti-reply window on a peer gateway. Signed-off-by: Kim Phillips Signed-off-by: Herbert Xu --- Reading git-diff-tree failed