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 155826 Details for
Bug 227726
Oops in svcauth_gss_release and tcp_sendpage
[?]
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 -- combine several gssapi fixes
linux-2.6.9-gssapi-cleanup.patch (text/plain), 1.78 KB, created by
Jeff Layton
on 2007-05-31 16:06:34 UTC
(
hide
)
Description:
patch -- combine several gssapi fixes
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2007-05-31 16:06:34 UTC
Size:
1.78 KB
patch
obsolete
>commit 016bd7a34f88f4f3cf42aa66e7de46a486835706 >Author: Jeffrey Layton <jlayton@dantu.rdu.redhat.com> >Date: Thu May 31 10:13:48 2007 -0400 > > BZ#227726: fix oopses in svcauth_gss_release with krb5i > >diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c >index 20dbd64..e64192d 100644 >--- a/net/sunrpc/auth_gss/svcauth_gss.c >+++ b/net/sunrpc/auth_gss/svcauth_gss.c >@@ -995,19 +995,15 @@ svcauth_gss_release(struct svc_rqst *rqstp) > if (xdr_buf_subsegment(resbuf, &integ_buf, integ_offset, > integ_len)) > BUG(); >- if (resbuf->page_len == 0 >- && resbuf->tail[0].iov_len + RPC_MAX_AUTH_SIZE >- < PAGE_SIZE) { >- BUG_ON(resbuf->tail[0].iov_len); >- /* Use head for everything */ >- resv = &resbuf->head[0]; >- } else if (resbuf->tail[0].iov_base == NULL) { >- /* copied from nfsd4_encode_read */ >- svc_take_page(rqstp); >- resbuf->tail[0].iov_base = page_address(rqstp >- ->rq_respages[rqstp->rq_resused-1]); >- rqstp->rq_restailpage = rqstp->rq_resused-1; >+ if (resbuf->tail[0].iov_base == NULL) { >+ if (resbuf->head[0].iov_len + RPC_MAX_AUTH_SIZE >+ > PAGE_SIZE) >+ goto out_err; >+ resbuf->tail[0].iov_base = >+ resbuf->head[0].iov_base >+ + resbuf->head[0].iov_len; > resbuf->tail[0].iov_len = 0; >+ rqstp->rq_restailpage = 0; > resv = &resbuf->tail[0]; > } else { > resv = &resbuf->tail[0]; >diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c >index 5ad2d03..4447482 100644 >--- a/net/sunrpc/svc.c >+++ b/net/sunrpc/svc.c >@@ -283,6 +283,7 @@ svc_process(struct svc_serv *serv, struct svc_rqst *rqstp) > rqstp->rq_res.len = 0; > rqstp->rq_res.page_base = 0; > rqstp->rq_res.page_len = 0; >+ rqstp->rq_res.tail[0].iov_base = NULL; > rqstp->rq_res.tail[0].iov_len = 0; > /* tcp needs a space for the record length... */ > if (rqstp->rq_prot == IPPROTO_TCP)
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 227726
:
154924
|
155819
| 155826