Skip to content
Commit b390c2b5 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: An ENOMEM error from call_encode is always fatal



The special 'ENOMEM' case that was previously flagged as non-fatal is
bogus: auth_gss always returns EAGAIN for non-fatal errors, and may in fact
return ENOMEM in the special case where xdr_buf_read_netobj runs out of
preallocated buffer space (invariably a _fatal_ error, since there is no
provision for preallocating larger buffers).

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 8b39f2b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment