lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 29 Aug 2014 19:56:05 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	peppe.cavallaro@...com
Cc:	netdev@...r.kernel.org, andre.draszik@...com, hdegoede@...hat.com
Subject: Re: [PATCH (net.git)] stmmac: fix dma api misuse

From: Giuseppe Cavallaro <peppe.cavallaro@...com>
Date: Wed, 27 Aug 2014 11:27:00 +0200

> Enabling DMA_API_DEBUG, warnings are reported at runtime
> because the device driver frees DMA memory with wrong functions
> and it does not call dma_mapping_error after mapping dma memory.
> 
> The first problem is fixed by of introducing a flag that helps us
> keeping track which mapping technique was used, so that we can use
> the right API for unmap.
> This approach was inspired by the e1000 driver, which uses a similar
> technique.
> 
> Signed-off-by: Andre Draszik <andre.draszik@...com>
> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@...com>
> Reviewed-by: Denis Kirjanov <kda@...ux-powerpc.org>
> Cc: Hans de Goede <hdegoede@...hat.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists