SUNRPC: fix decoding of optional gss-proxy xdr fields
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 7 May 2013 21:45:20 +0000 (17:45 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 7 May 2013 21:45:20 +0000 (17:45 -0400)
commitfb43f11c666a4f99f23f0be4fa528dcd288c0da2
tree0cbd44e178322a537c83faa576686e2463c4ccc7
parent9fd40c5a66be0b0a5d65362ec139968ba6d1f412
SUNRPC: fix decoding of optional gss-proxy xdr fields

The current code works, but sort of by accident: it obviously didn't
intend the error return to be interpreted as "true".

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/gss_rpc_xdr.c