linux/net/sunrpc
Chuck Lever 7df089952f SUNRPC: Fix use of copy_to_user() in gss_pipe_upcall()
The gss_pipe_upcall() function expects the copy_to_user() function to
return a negative error value if the call fails, but copy_to_user()
returns an unsigned long number of bytes that couldn't be copied.

Can rpc_pipefs actually retry a partially completed upcall read?  If
not, then gss_pipe_upcall() should punt any partial read, just like the
upcall logic in net/sunrpc/cache.c.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-01-30 02:06:00 -05:00
..
auth_gss SUNRPC: Fix use of copy_to_user() in gss_pipe_upcall() 2008-01-30 02:06:00 -05:00
xprtrdma SUNRPC: Add support for per-client timeout values 2008-01-30 02:05:59 -05:00
auth_null.c SUNRPC: cleanup rpc credential cache garbage collection 2007-07-10 23:40:35 -04:00
auth_unix.c SUNRPC: Remove the tk_auth macro... 2007-07-10 23:40:37 -04:00
auth.c SUNRPC: Mask signals across the call to rpc_call_setup() in rpc_run_task 2008-01-30 02:05:31 -05:00
cache.c [NET]: Add some acquires/releases sparse annotations. 2008-01-28 15:00:31 -08:00
clnt.c SUNRPC: Add support for per-client timeout values 2008-01-30 02:05:59 -05:00
Makefile RPCRDMA: rpc rdma transport switch 2007-10-09 17:18:03 -04:00
rpc_pipe.c SUNRPC: Remove an unneeded implicit type cast when calling rpc_depopulate() 2008-01-30 02:05:43 -05:00
rpcb_clnt.c SUNRPC: Move universal address definitions to global header 2008-01-30 02:05:50 -05:00
sched.c SUNRPC: Cleanup to remove the last users of the RPC_WAITQ declaration 2008-01-30 02:05:41 -05:00
socklib.c SUNRPC: temp var should match return type of xdr_skb_read_actor 2008-01-30 02:05:43 -05:00
stats.c SUNRPC: Restrict sunrpc client exports 2008-01-30 02:05:28 -05:00
sunrpc_syms.c SUNRPC: Move exported declarations to the function declarations 2008-01-30 02:05:28 -05:00
svc.c knfsd: Add source address to sunrpc svc errors 2007-10-09 18:31:57 -04:00
svcauth_unix.c knfsd: nfsd: set rq_client to ip-address-determined-domain 2007-07-17 10:23:07 -07:00
svcauth.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
svcsock.c [NET] Cleanup: Use sock_owned_by_user() macro 2007-10-10 16:49:00 -07:00
sysctl.c SUNRPC: Restrict sunrpc client exports 2008-01-30 02:05:28 -05:00
timer.c SUNRPC: add EXPORT_SYMBOL_GPL for generic transport functions 2007-10-09 17:17:36 -04:00
xdr.c SUNRPC: Move exported declarations to the function declarations 2008-01-30 02:05:28 -05:00
xprt.c SUNRPC: Add support for per-client timeout values 2008-01-30 02:05:59 -05:00
xprtsock.c SUNRPC: Add support for per-client timeout values 2008-01-30 02:05:59 -05:00