Files
linux/drivers/net/ethernet/neterion
Colin Ian King 090b740200 vxge: fix return of a free'd memblock on a failed dma mapping
[ Upstream commit 0a2c34f18c ]

Currently if a pci dma mapping failure is detected a free'd
memblock address is returned rather than a NULL (that indicates
an error). Fix this by ensuring NULL is returned on this error case.

Addresses-Coverity: ("Use after free")
Fixes: 528f727279 ("vxge: code cleanup and reorganization")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-16 19:41:21 +02:00
..
2011-08-11 02:41:47 -07:00
2011-08-11 02:41:47 -07:00