SUNRPC: Fix the minimal size for reply buffer allocation
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Mar 2019 16:55:59 +0000 (12:55 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Mar 2019 17:06:35 +0000 (13:06 -0400)
commit513149607d19bc3821386fb5ac75f8b99fd4b115
tree7c44799058c3331774ccfcd10243243e4b0c7477
parent9734ad57b0f1a367fd3a00d717f97f8c00d9edb7
SUNRPC: Fix the minimal size for reply buffer allocation

We must at minimum allocate enough memory to be able to see any auth
errors in the reply from the server.

Fixes: 2c94b8eca1a26 ("SUNRPC: Use au_rslack when computing reply...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c