]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] RPC: Ensure XDR iovec length is initialized correctly in call_header
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 17:16:19 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:02 +0000 (16:07 -0400)
commit8c22d92a42ce6cb27a0bd7fca506836f9cb6cadd
tree8a06af4d40c711c578adc36d9afd3200a88a2689
parent332f68fcc6b8da83a2ceddc17a361ca0a492056d
[PATCH] RPC: Ensure XDR iovec length is initialized correctly in call_header

 Fix up call_header() so that it calls xdr_adjust_iovec().
 Fix calculation of the scratch buffer length in xdr_init_encode().

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