diff options
author | Hangyu Hua | 2022-07-13 09:55:11 +0900 |
---|---|---|
committer | Dominique Martinet | 2022-07-15 20:22:21 +0900 |
commit | 4ac7573e1f9333073fa8d303acc941c9b7ab7f61 (patch) | |
tree | db109559de7b8c0616e73565279d7837f28fae18 /lib/xz | |
parent | 67dd8e445ee0aa5e8bf1d9d866c914ed11626bbd (diff) |
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/20220712104438.30800-1-hbh25y@gmail.com
Fixes: 728356dedeff ("9p: Add refcount to p9_req_t")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
[Dominique: commit wording adjustments, p9_req_put argument fixes for rebase]
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions