aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorEsben Haabendal <[email protected]>2019-04-30 09:17:55 +0200
committerDavid S. Miller <[email protected]>2019-05-01 14:33:30 -0400
commita8c9bd3ba84084b6cca704d5b21ee0ba971b748b (patch)
treefa6c927b9bece67c46cc39fa6bc8ebe246563da7 /lib/memory-notifier-error-inject.c
parentf14f5c11f051ca4a41e65017d94408e5e702ba9d (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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions