• Trond Myklebust's avatar
    SUNRPC: Fix callback channel · 756b9b37
    Trond Myklebust authored
    The NFSv4.1 callback channel is currently broken because the receive
    message will keep shrinking because the backchannel receive buffer size
    never gets reset.
    The easiest solution to this problem is instead of changing the receive
    buffer, to rather adjust the copied request.
    
    Fixes: 38b7631f ("nfs4: limit callback decoding to received bytes")
    Cc: Benjamin Coddington <bcodding@redhat.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
    756b9b37
backchannel_rqst.c 10.9 KB