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 146024 Details for
Bug 220649
NFS with Kerberos completely broken on 2.6.18 and 2.6.19
[?]
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.
Purposed Patch
bz220649.patch (text/x-patch), 1.83 KB, created by
Steve Dickson
on 2007-01-19 19:29:32 UTC
(
hide
)
Description:
Purposed Patch
Filename:
MIME Type:
Creator:
Steve Dickson
Created:
2007-01-19 19:29:32 UTC
Size:
1.83 KB
patch
obsolete
>--- linux-2.6.18.noarch/include/linux/sunrpc/clnt.h.orig 2006-09-19 23:42:06.000000000 -0400 >+++ linux-2.6.18.noarch/include/linux/sunrpc/clnt.h 2007-01-19 14:15:13.194065000 -0500 >@@ -66,6 +66,7 @@ struct rpc_clnt { > struct rpc_rtt cl_rtt_default; > struct rpc_portmap cl_pmap_default; > char cl_inline_name[32]; >+ struct rpc_program * cl_program; > }; > #define cl_timeout cl_xprt->timeout > #define cl_prog cl_pmap->pm_prog >--- linux-2.6.18.noarch/net/sunrpc/clnt.c.orig 2007-01-19 14:15:13.223065000 -0500 >+++ linux-2.6.18.noarch/net/sunrpc/clnt.c 2007-01-19 14:15:49.852151000 -0500 >@@ -236,6 +236,7 @@ struct rpc_clnt * > rpc_clone_client(struct rpc_clnt *clnt) > { > struct rpc_clnt *new; >+ struct rpc_xprt *xprt; > int err; > > new = kmalloc(sizeof(*new), GFP_KERNEL); >@@ -244,11 +245,36 @@ rpc_clone_client(struct rpc_clnt *clnt) > memcpy(new, clnt, sizeof(*new)); > atomic_set(&new->cl_count, 1); > atomic_set(&new->cl_users, 0); >+ if (clnt->cl_server != clnt->cl_inline_name) { >+ new->cl_server = kstrdup(clnt->cl_server, GFP_KERNEL); >+ if (new->cl_server == NULL) { >+ kfree(new); >+ return ERR_PTR(-ENOMEM); >+ } >+ } else >+ new->cl_server = new->cl_inline_name; >+ >+ xprt = clnt->cl_xprt; >+ new->cl_xprt = xprt_create_proto(xprt->prot, &xprt->addr, &xprt->timeout); >+ if (IS_ERR(new->cl_xprt)) { >+ dprintk("%s: cannot create RPC transport. Error = %ld\n", >+ __FUNCTION__, PTR_ERR(new->cl_xprt)); >+ if (new->cl_server != new->cl_inline_name) >+ kfree(new->cl_server); >+ xprt = new->cl_xprt; >+ kfree(new); >+ return ERR_PTR(xprt); >+ } >+ > err = rpc_setup_pipedir(new, clnt->cl_program->pipe_dir_name); > if (err != 0) { >+ xprt_destroy(new->cl_xprt); >+ if (new->cl_server != new->cl_inline_name) >+ kfree(new->cl_server); > kfree(new); > return ERR_PTR(err); > } >+ > new->cl_parent = clnt; > atomic_inc(&clnt->cl_count); > /* Duplicate portmapper */
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 220649
:
146024
|
146027
|
146187