Re: [PATCH] mshv: fix fd leak in mshv_ioctl_create_vtl()
Markus Elfring <[email protected]> Thu, 9 Jul 2026 18:05:18 +0200
| Newsgroups | org.kernel.vger.linux-hyperv,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
> put_unused_fd() if anon_inode_getfile() fails. How do you think about to add any tags (like “Fixes” and “Cc”) accordingly? See also: * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2-rc2#n145 * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v7.2-rc2#n34 * Would you like to complete the exception handling by using another goto chain? * How do you think about to increase the application of scope-based resource management? Regards, Markus