From: Chris Wright Date: Thu, 17 Apr 2008 21:27:54 +0000 (-0700) Subject: fix crypto xcbc patch for 2.6.24 X-Git-Tag: v2.6.24.5~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b374d989f5f2b88d6dff0fabf381b82419b0fbed;p=thirdparty%2Fkernel%2Fstable-queue.git fix crypto xcbc patch for 2.6.24 --- diff --git a/queue-2.6.24/crypto-xcbc-fix-crash-when-ipsec-uses-xcbc-mac-with-big-data-chunk.patch b/queue-2.6.24/crypto-xcbc-fix-crash-when-ipsec-uses-xcbc-mac-with-big-data-chunk.patch index 410d9c90d08..2e9cdd91575 100644 --- a/queue-2.6.24/crypto-xcbc-fix-crash-when-ipsec-uses-xcbc-mac-with-big-data-chunk.patch +++ b/queue-2.6.24/crypto-xcbc-fix-crash-when-ipsec-uses-xcbc-mac-with-big-data-chunk.patch @@ -26,6 +26,7 @@ problem. Signed-off-by: Joy Latten Signed-off-by: Herbert Xu +[chrisw@sous-sol.org: backport to 2.6.24.4] Signed-off-by: Chris Wright --- crypto/xcbc.c | 17 +++++++++-------- @@ -60,7 +61,7 @@ Signed-off-by: Chris Wright + + if (!nbytes) + break; -+ sg = scatterwalk_sg_next(sg); ++ sg = sg_next(sg); + } return 0;