]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix an rpcbind breakage for the case of IPv6 lookups
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 Jul 2008 19:20:55 +0000 (15:20 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Jul 2008 19:23:10 +0000 (15:23 -0400)
commit268257c4e95290da9290ef8181b60c9fbb551f40
treed95c3f118759ae78754c95f5fc83e187b9d41e56
parent6182b626239ee6be7223c0952d4aa3c942e25143
SUNRPC: Fix an rpcbind breakage for the case of IPv6 lookups

Now that rpcb_next_version has been split into an IPv4 version and an IPv6
version, we Oops when rpcb_call_async attempts to look up the IPv6-specific
RPC procedure in rpcb_next_version.

Fix the Oops simply by having rpcb_getport_async pass the correct RPC
procedure as an argument.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c