]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: An ENOMEM error from call_encode is always fatal
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 10 Jun 2008 22:30:11 +0000 (18:30 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:08:43 +0000 (12:08 -0400)
commitb390c2b55c830eb3b64633fa8d8b8837e073e458
treee18f0041626a88447d34809f35041cd4b4425610
parent8b39f2b41033754e7ba669503d27268beb1b524a
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: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c