commit | dc88db7ee9f9a0a850dcee5738031f888ba124b7 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Tue Jul 08 14:55:10 2014 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jul 10 15:36:40 2014 +0200 |
tree | e8b5a6997b737e38c3a0f95f7728ca9dd5eb5d2e | |
parent | 61feb43897ec1cf8b126689035b249f30b0d90ad [diff] |
iommu/amd: Drop pasid_state reference in ppr_notifer error path In case we are not able to allocate a fault structure a reference to the pasid_state will be leaked. Fix that by dropping the reference in the error path in case we hold one. Signed-off-by: Joerg Roedel <jroedel@suse.de> Tested-by: Oded Gabbay <Oded.Gabbay@amd.com>