SUNRPC: Use correct XDR encoding procedure for rpcbind SET/UNSET
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Jul 2008 20:03:26 +0000 (16:03 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 Jul 2008 22:08:40 +0000 (18:08 -0400)
commit166b88d755f925139af7f7b75aa0a1b896ca0670
tree3040cc01b15549105fbf0da576f6eea716727a22
parent381ba74af55e58bca4c01553835a360a9f6fbb07
SUNRPC: Use correct XDR encoding procedure for rpcbind SET/UNSET

The rpcbind versions 3 and 4 SET and UNSET procedures use the same
arguments as the GETADDR procedure.

While definitely a bug, this hasn't been a problem so far since the
kernel hasn't used version 3 or 4 SET and UNSET.  But this will change
in just a moment.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c