commit | 6d8453df84f1488798b1d39a467de6349fdf3ccb | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Jul 27 12:27:54 2022 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 25 11:09:29 2022 +0200 |
tree | d9aadfd600cc43347cf9bc8c22335c0583b166ed | |
parent | d908b2604ec9e769ae275dbbf066f7dba93e92a5 [diff] |
SUNRPC: Reinitialise the backchannel request buffers before reuse commit 6622e3a73112fc336c1c2c582428fb5ef18e456a upstream. When we're reusing the backchannel requests instead of freeing them, then we should reinitialise any values of the send/receive xdr_bufs so that they reflect the available space. Fixes: 0d2a970d0ae5 ("SUNRPC: Fix a backchannel race") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>