[PATCH] RPC: extract socket logic common to both client and server
Clean-up: Move some code that is common to both RPC client- and server-side socket transports into its own source file, net/sunrpc/socklib.c. Test-plan: Compile kernel with CONFIG_NFS enabled. Millions of fsx operations over UDP, client and server. Connectathon over UDP. Version: Thu, 11 Aug 2005 16:03:09 -0400 Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:

committed by
Trond Myklebust

parent
602f83273c
commit
094bb20b9f
@@ -548,9 +548,6 @@ svc_write_space(struct sock *sk)
|
||||
/*
|
||||
* Receive a datagram from a UDP socket.
|
||||
*/
|
||||
extern int
|
||||
csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb);
|
||||
|
||||
static int
|
||||
svc_udp_recvfrom(struct svc_rqst *rqstp)
|
||||
{
|
||||
|
Reference in New Issue
Block a user