Skip to content
Commit 6aeafd05 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

pNFS: Fix use after free issues in pnfs_do_read()



The assumption should be that if the caller returns PNFS_ATTEMPTED, then hdr
has been consumed, and so we should not be testing hdr->task.tk_status.
If the caller returns PNFS_TRY_AGAIN, then we need to recoalesce and
free hdr.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent b3230e80
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment