mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
SUNRPC: Reinitialise the backchannel request buffers before reuse
commit6622e3a731upstream. 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:0d2a970d0a("SUNRPC: Fix a backchannel race") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ed1e2e39f0
commit
7116a23f3d
1 changed files with 14 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue