diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-07-27 19:27:54 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-07-27 19:45:17 +0300 |
commit | 6622e3a73112fc336c1c2c582428fb5ef18e456a (patch) | |
tree | 40b81e3638715fe090813c54bd38dd2af040338c /net/sunrpc/xprt.c | |
parent | e35a5e782f67ed76a65ad0f23a484444a95f000f (diff) | |
download | linux-6622e3a73112fc336c1c2c582428fb5ef18e456a.tar.xz |
SUNRPC: Reinitialise the backchannel request buffers before reuse
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>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions