diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2022-06-12 17:14:55 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2022-06-15 12:05:29 +0900 |
commit | e5690f263208c5abce7451370b7786eb25b405eb (patch) | |
tree | 32ce6e91060e97836c8184e43034c690ae0ea525 /scripts/gdb/linux/cpus.py | |
parent | beca774fc51a9ba8abbc869cf0c3d965ff17cd24 (diff) |
9p: fix fid refcount leak in v9fs_vfs_get_link
we check for protocol version later than required, after a fid has
been obtained. Just move the version check earlier.
Link: https://lkml.kernel.org/r/20220612085330.1451496-3-asmadeus@codewreck.org
Fixes: 6636b6dcc3db ("9p: add refcount to p9_fid struct")
Cc: stable@vger.kernel.org
Reviewed-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions