From: Chuck Lever Date: Thu, 19 Mar 2009 00:47:21 +0000 (-0400) Subject: SUNRPC: Allow callers to pass rpcb_v4_register a NULL address X-Git-Tag: v2.6.30-rc1~415^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1673d0de40ab46cac3b456ad50e1c8d6a31bfd66;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed