Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: 9p: fix refcount leak in p9_read_work() error handling
p9_req_put need to be called when m->rreq->rc.sdata is NULL to avoid temporary refcount leak. Link: https://lkml.kernel.org/r/[email protected] Fixes: 728356d ("9p: Add refcount to p9_req_t") Signed-off-by: Hangyu Hua <[email protected]> [Dominique: commit wording adjustments, p9_req_put argument fixes for rebase] Signed-off-by: Dominique Martinet <[email protected]>
- Loading branch information