summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-04-25 18:26:53 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-04-25 22:42:34 +0300
commit6aeafd05eca9bc8ab6b03d7e56d09ffd18190f44 (patch)
tree4cdc02f84e2246efef3fe50dfb138e9cff9aeadd /include
parentb3230e80a6d115d2eb50fe3f4794ad04d84766de (diff)
downloadlinux-6aeafd05eca9bc8ab6b03d7e56d09ffd18190f44.tar.xz
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: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions