Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 299788 Details for
Bug 439874
IPV6DOD: 2.6.18-87.el5 kernel crashes when using ipsec with aes-xcbc-mac and UDP on ppc64.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Patch for xcbc.
xcbc.patch (text/plain), 935 bytes, created by
IBM Bug Proxy
on 2008-03-31 23:16:45 UTC
(
hide
)
Description:
Patch for xcbc.
Filename:
MIME Type:
Creator:
IBM Bug Proxy
Created:
2008-03-31 23:16:45 UTC
Size:
935 bytes
patch
obsolete
>diff -urpN net-2.6.26/crypto/xcbc.c net-2.6.26.sb/crypto/xcbc.c >--- net-2.6.26/crypto/xcbc.c 2008-03-31 15:27:17.000000000 -0500 >+++ net-2.6.26.sb/crypto/xcbc.c 2008-03-31 15:43:53.000000000 -0500 >@@ -116,13 +116,11 @@ static int crypto_xcbc_digest_update2(st > struct crypto_xcbc_ctx *ctx = crypto_hash_ctx_aligned(parent); > struct crypto_cipher *tfm = ctx->child; > int bs = crypto_hash_blocksize(parent); >- unsigned int i = 0; > >- do { >- >- struct page *pg = sg_page(&sg[i]); >- unsigned int offset = sg[i].offset; >- unsigned int slen = sg[i].length; >+ for (;;) { >+ struct page *pg = sg_page(sg); >+ unsigned int offset = sg->offset; >+ unsigned int slen = sg->length; > > if (unlikely(slen > nbytes)) > slen = nbytes; >@@ -182,8 +180,11 @@ static int crypto_xcbc_digest_update2(st > offset = 0; > pg++; > } >- i++; >- } while (nbytes>0); >+ >+ if (!nbytes) >+ break; >+ sg = scatterwalk_sg_next(sg); >+ } > > return 0; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 439874
: 299788