]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c0cbc26e3d79e85ca15f37e18d215663c700d98
tree7c44799058c3331774ccfcd10243243e4b0c7477
parent33e2932c02b81785c4fb6e508eaac52c2d4ffdfb
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: f2dbea87fa6cc ("SUNRPC: Use au_rslack when computing reply...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c