diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-25 11:26:53 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-25 15:42:34 -0400 |
commit | 6aeafd05eca9bc8ab6b03d7e56d09ffd18190f44 (patch) | |
tree | 4cdc02f84e2246efef3fe50dfb138e9cff9aeadd /net/qrtr | |
parent | b3230e80a6d115d2eb50fe3f4794ad04d84766de (diff) | |
download | linux-6aeafd05eca9bc8ab6b03d7e56d09ffd18190f44.tar.gz |
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 'net/qrtr')
0 files changed, 0 insertions, 0 deletions