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 298955 Details for
Bug 438758
wrong kunmap call in nfs_xdr_readlinkres
[?]
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]
Patch to use kunmap_atomic instead of kunmap
linux-2.4-nfs-fix-xdr-readlinkres_kunmap.patch (text/plain), 887 bytes, created by
Fabio Olive Leite
on 2008-03-24 21:43:42 UTC
(
hide
)
Description:
Patch to use kunmap_atomic instead of kunmap
Filename:
MIME Type:
Creator:
Fabio Olive Leite
Created:
2008-03-24 21:43:42 UTC
Size:
887 bytes
patch
obsolete
>--- fs/nfs/nfs2xdr.c.orig 2008-03-24 17:58:11.000000000 -0300 >+++ fs/nfs/nfs2xdr.c 2008-03-24 17:58:46.000000000 -0300 >@@ -574,7 +574,7 @@ nfs_xdr_readlinkres(struct rpc_rqst *req > len = ntohl(*strlen); > if (len >= rcvbuf->page_len - sizeof(u32) || len > NFS2_MAXPATHLEN) { > dprintk("NFS: READLINK server returned giant symlink!\n"); >- kunmap(rcvbuf->pages[0]); >+ kunmap_atomic(strlen, KM_USER0); > return -ENAMETOOLONG; > } > *strlen = len; >--- fs/nfs/nfs3xdr.c.orig 2008-03-24 17:58:18.000000000 -0300 >+++ fs/nfs/nfs3xdr.c 2008-03-24 18:01:30.000000000 -0300 >@@ -829,7 +829,7 @@ nfs3_xdr_readlinkres(struct rpc_rqst *re > len = ntohl(*strlen); > if (len >= rcvbuf->page_len - sizeof(u32)) { > dprintk("NFS: READLINK server returned giant symlink!\n"); >- kunmap(rcvbuf->pages[0]); >+ kunmap_atomic(strlen, KM_USER0); > return -ENAMETOOLONG; > } > *strlen = len;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 438758
: 298955