diff options
| author | Su Hui <[email protected]> | 2023-06-08 02:19:34 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2023-06-16 14:36:45 +0000 |
| commit | 5b00369fcf6d1ff9050b94800dc596925ff3623f (patch) | |
| tree | 3f305fd30211eefc1f385d1e7e1ff9d8603ea2ad /net/unix/af_unix.c | |
| parent | Linux 6.4-rc6 (diff) | |
| download | kernel-5b00369fcf6d1ff9050b94800dc596925ff3623f.tar.gz kernel-5b00369fcf6d1ff9050b94800dc596925ff3623f.zip | |
iommu/amd: Fix possible memory leak of 'domain'
Move allocation code down to avoid memory leak.
Fixes: 29f54745f245 ("iommu/amd: Add missing domain type checks")
Signed-off-by: Su Hui <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Reviewed-by: Vasant Hegde <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
