linux-stable/net/9p
Hangyu Hua 4ac7573e1f 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: 728356dede ("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>
2022-07-15 20:22:21 +09:00
..
client.c 9p: roll p9_tag_remove into p9_req_put 2022-07-15 20:22:09 +09:00
error.c 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00
Kconfig 9p/trans_fd: split into dedicated module 2022-01-10 09:58:30 +09:00
Makefile 9p/trans_fd: split into dedicated module 2022-01-10 09:58:30 +09:00
mod.c net/p9: load default transports 2022-01-10 10:00:09 +09:00
protocol.c 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00
protocol.h 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00
trans_common.c 9p: fix file headers 2021-11-03 17:45:04 +09:00
trans_common.h 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00
trans_fd.c net: 9p: fix refcount leak in p9_read_work() error handling 2022-07-15 20:22:21 +09:00
trans_rdma.c 9p: Add client parameter to p9_req_put() 2022-07-09 14:38:35 +09:00
trans_virtio.c 9p: Add client parameter to p9_req_put() 2022-07-09 14:38:35 +09:00
trans_xen.c 9p: Add client parameter to p9_req_put() 2022-07-09 14:38:35 +09:00