]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix crypto xcbc patch for 2.6.24
authorChris Wright <chrisw@sous-sol.org>
Thu, 17 Apr 2008 21:27:54 +0000 (14:27 -0700)
committerChris Wright <chrisw@sous-sol.org>
Thu, 17 Apr 2008 21:27:54 +0000 (14:27 -0700)
queue-2.6.24/crypto-xcbc-fix-crash-when-ipsec-uses-xcbc-mac-with-big-data-chunk.patch

index 410d9c90d081b79d376f5c85d196053ca7c637a5..2e9cdd9157526438cee6b85b3d0628eb0ff558e5 100644 (file)
@@ -26,6 +26,7 @@ problem.
 
 Signed-off-by: Joy Latten <latten@austin.ibm.com>
 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
+[chrisw@sous-sol.org: backport to 2.6.24.4]
 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
 ---
  crypto/xcbc.c |   17 +++++++++--------
@@ -60,7 +61,7 @@ Signed-off-by: Chris Wright <chrisw@sous-sol.org>
 +
 +              if (!nbytes)
 +                      break;
-+              sg = scatterwalk_sg_next(sg);
++              sg = sg_next(sg);
 +      }
  
        return 0;