aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-03-18 20:47:21 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-28 15:57:00 -0400
commit1673d0de40ab46cac3b456ad50e1c8d6a31bfd66 (patch)
tree0d643ac1b4ad99d6d1bdee3cadfe9d6cf07810b1 /net/sunrpc/svc.c
parent126e4bc3b3b446482696377f67a634c76eaf2e9c (diff)
downloadkernel_samsung_smdk4412-1673d0de40ab46cac3b456ad50e1c8d6a31bfd66.zip
kernel_samsung_smdk4412-1673d0de40ab46cac3b456ad50e1c8d6a31bfd66.tar.gz
kernel_samsung_smdk4412-1673d0de40ab46cac3b456ad50e1c8d6a31bfd66.tar.bz2
SUNRPC: Allow callers to pass rpcb_v4_register a NULL address
The user space TI-RPC library uses an empty string for the universal address when unregistering all target addresses for [program, version]. The kernel's rpcb client should behave the same way. Here, we are switching between several registration methods based on the protocol family of the incoming address. Rename the other rpcbind v4 registration functions to make it clear that they, as well, are switched on protocol family. In /etc/netconfig, this is either "inet" or "inet6". NB: The loopback protocol families are not supported in the kernel. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/svc.c')
0 files changed, 0 insertions, 0 deletions