diff options
| author | Hangyu Hua <hbh25y@gmail.com> | 2022-08-24 16:26:00 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-01 16:29:50 +0200 |
| commit | c3b69ba5114c860d730870c03ab4ee45276e5e35 (patch) | |
| tree | 1b3ba0de530f21d85e58ea49d308ec5048948a76 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | virt: move from strlcpy with unused retval to strscpy (diff) | |
| download | linux-c3b69ba5114c860d730870c03ab4ee45276e5e35.tar.gz linux-c3b69ba5114c860d730870c03ab4ee45276e5e35.zip | |
misc: ocxl: fix possible refcount leak in afu_ioctl()
eventfd_ctx_put need to be called to put the refcount that gotten by
eventfd_ctx_fdget when ocxl_irq_set_handler fails.
Fixes: 060146614643 ("ocxl: move event_fd handling to frontend")
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20220824082600.36159-1-hbh25y@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
