alistair23-linux/net/sunrpc/xprtrdma
Chuck Lever ba809130bc SUNRPC: Remove duplicate universal address generation
RPC universal address generation is currently done in several places:
rpcb_clnt.c, nfs4proc.c xprtsock.c, and xprtrdma.c.  Remove the
redundant cases that convert a socket address to a universal
address.  The nfs4proc.c case takes a pre-formatted presentation
address string, not a socket address, so we'll leave that one.

Because the new uaddr constructor uses the recently introduced
rpc_ntop(), it now supports proper "::" shorthanding for IPv6
addresses.  This allows the kernel to register properly formed
universal addresses with the local rpcbind service, in _all_ cases.

The kernel can now also send properly formed universal addresses in
RPCB_GETADDR requests, and support link-local properly when
encoding and decoding IPv6 addresses.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2009-08-09 15:09:35 -04:00
..
Makefile
rpc_rdma.c XPRTRDMA: correct an rpc/rdma inline send marshaling error 2009-03-11 14:37:55 -04:00
svc_rdma.c
svc_rdma_marshal.c
svc_rdma_recvfrom.c sunrpc: potential memory leak in function rdma_read_xdr 2009-06-15 19:34:32 -07:00
svc_rdma_sendto.c svcrdma: dma unmap the correct length for the RPCRDMA header page. 2009-05-27 18:57:24 -04:00
svc_rdma_transport.c svcrdma: dma unmap the correct length for the RPCRDMA header page. 2009-05-27 18:57:24 -04:00
transport.c SUNRPC: Remove duplicate universal address generation 2009-08-09 15:09:35 -04:00
verbs.c XPRTRDMA: fix client rpcrdma FRMR registration on mlx4 devices 2009-05-26 14:51:00 -04:00
xprt_rdma.h RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls. 2008-10-10 15:13:31 -04:00