diff options
author | Esben Haabendal <esben@geanix.com> | 2019-04-30 09:17:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-01 14:33:30 -0400 |
commit | a8c9bd3ba84084b6cca704d5b21ee0ba971b748b (patch) | |
tree | fa6c927b9bece67c46cc39fa6bc8ebe246563da7 /drivers/pci/controller/pci-host-common.c | |
parent | f14f5c11f051ca4a41e65017d94408e5e702ba9d (diff) |
net: ll_temac: Fix iommu/swiotlb leak
Unmap the actual buffer length, not the amount of data received, avoiding
resource exhaustion of swiotlb (seen on x86_64 platform).
Signed-off-by: Esben Haabendal <esben@geanix.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions