Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37235 Details for
Bug 60072
kernel 2.6.8-rc4 locks up when an nfs export is accessed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes decreasing of now unsigned loop variable 'len'
linux-2.6.8-rc4_nfs_unsigned_fix.patch (text/plain), 1.07 KB, created by
Maurice van der Pot (RETIRED)
on 2004-08-11 10:46:18 UTC
(
hide
)
Description:
Fixes decreasing of now unsigned loop variable 'len'
Filename:
MIME Type:
Creator:
Maurice van der Pot (RETIRED)
Created:
2004-08-11 10:46:18 UTC
Size:
1.07 KB
patch
obsolete
>diff -ruN linux-2.6.8-rc4/fs/nfsd/nfs3xdr.c linux-2.6.8-rc4_nfs_unsigned_fix/fs/nfsd/nfs3xdr.c >--- linux-2.6.8-rc4/fs/nfsd/nfs3xdr.c 2004-08-11 18:20:30.864534096 +0200 >+++ linux-2.6.8-rc4_nfs_unsigned_fix/fs/nfsd/nfs3xdr.c 2004-08-11 19:10:45.053669760 +0200 >@@ -347,8 +347,8 @@ > svc_take_page(rqstp); > args->vec[v].iov_base = page_address(rqstp->rq_respages[pn]); > args->vec[v].iov_len = len < PAGE_SIZE? len : PAGE_SIZE; >+ len -= args->vec[v].iov_len; > v++; >- len -= PAGE_SIZE; > } > args->vlen = v; > return xdr_argsize_check(rqstp, p); >diff -ruN linux-2.6.8-rc4/fs/nfsd/nfsxdr.c linux-2.6.8-rc4_nfs_unsigned_fix/fs/nfsd/nfsxdr.c >--- linux-2.6.8-rc4/fs/nfsd/nfsxdr.c 2004-08-11 18:20:30.876532272 +0200 >+++ linux-2.6.8-rc4_nfs_unsigned_fix/fs/nfsd/nfsxdr.c 2004-08-11 19:10:29.178083216 +0200 >@@ -255,8 +255,8 @@ > svc_take_page(rqstp); > args->vec[v].iov_base = page_address(rqstp->rq_respages[pn]); > args->vec[v].iov_len = len < PAGE_SIZE?len:PAGE_SIZE; >+ len -= args->vec[v].iov_len; > v++; >- len -= PAGE_SIZE; > } > args->vlen = v; > return xdr_argsize_check(rqstp, p);
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 60072
: 37235