diff options
| author | Hangyu Hua <[email protected]> | 2022-07-13 00:55:11 +0000 |
|---|---|---|
| committer | Dominique Martinet <[email protected]> | 2022-07-15 11:22:21 +0000 |
| commit | 4ac7573e1f9333073fa8d303acc941c9b7ab7f61 (patch) | |
| tree | db109559de7b8c0616e73565279d7837f28fae18 /drivers/fpga/machxo2-spi.c | |
| parent | 9p: roll p9_tag_remove into p9_req_put (diff) | |
| download | kernel-4ac7573e1f9333073fa8d303acc941c9b7ab7f61.tar.gz kernel-4ac7573e1f9333073fa8d303acc941c9b7ab7f61.zip | |
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: 728356dedeff ("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]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
