• T
    NFSv3: Fix posix ACL code · ae46141f
    Trond Myklebust 提交于
    Fix a memory leak due to allocation in the XDR layer. In cases where the
    RPC call needs to be retransmitted, we end up allocating new pages without
    clearing the old ones. Fix this by moving the allocation into
    nfs3_proc_setacls().
    
    Also fix an issue discovered by Kevin Rudd, whereby the amount of memory
    reserved for the acls in the xdr_buf->head was miscalculated, and causing
    corruption.
    Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
    ae46141f
nfs3xdr.c 29.5 KB