alistair23-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.c SUNRPC: Mask signals across the call to rpc_call_setup() in rpc_run_task 2008-01-30 02:05:31 -05:00
auth_null.c
auth_unix.c
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
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.c
svcauth_unix.c
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
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