]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Create a helper to tell whether a transport is bound
authorChuck Lever <chuck.lever@oracle.com>
Wed, 23 Aug 2006 00:06:15 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:39 +0000 (23:24 -0400)
commitec739ef03dc926d05051c8c5838971445504470a
tree940d3dafd873c159c1279ade15ba11ede1d12983
parent9c5bf38d85a31b946664bcc21078ef5bb10672f7
SUNRPC: Create a helper to tell whether a transport is bound

Hide the contents and format of xprt->addr by eliminating direct uses
of the xprt->addr.sin_port field.  This change is required to support
alternate RPC host address formats (eg IPv6).

Test-plan:
Destructive testing (unplugging the network temporarily).  Repeated runs of
Connectathon locking suite with UDP and TCP.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/pmap_clnt.c
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c