]> Git Repo - linux.git/commit - net/sunrpc/clnt.c
SUNRPC: Use "sockaddr_storage" for storing RPC client's remote peer address
authorChuck Lever <[email protected]>
Wed, 23 Aug 2006 00:06:19 +0000 (20:06 -0400)
committerTrond Myklebust <[email protected]>
Sat, 23 Sep 2006 03:24:48 +0000 (23:24 -0400)
commitc4efcb1d3e0bc76aeb9ca6301d19a5079893c6c9
tree23f113b897f1ab2e00e4fcf774d93711d7f703b8
parente7f7865743fff3d3938ec7540e5a784d662426da
SUNRPC: Use "sockaddr_storage" for storing RPC client's remote peer address

IPv6 addresses are big (128 bytes).  Now that no RPC client consumers treat
the addr field in rpc_xprt structs as an opaque, and access it only via the
API calls, we can safely widen the field in the rpc_xprt struct to
accomodate larger addresses.

Test plan:
Compile kernel with CONFIG_NFS enabled.

Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c
This page took 0.044237 seconds and 4 git commands to generate.