linux_dsm_epyc7002/drivers/net/ethernet/neterion/vxge
Colin Ian King 0a2c34f18c vxge: fix return of a free'd memblock on a failed dma mapping
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>
2019-04-12 16:54:41 -07:00
..
Makefile
vxge-config.c vxge: fix return of a free'd memblock on a failed dma mapping 2019-04-12 16:54:41 -07:00
vxge-config.h net: neterion: vxge: Use linux/io-64-nonatomic-lo-hi.h 2018-09-18 20:06:23 -07:00
vxge-ethtool.c net: vxge: fix spelling mistake in macro VXGE_HW_ERR_PRIVILAGED_OPEARATION 2018-05-23 14:50:02 -04:00
vxge-ethtool.h vxge: Add const to ethtool_driver_stats_keys 2015-04-01 15:35:14 -04:00
vxge-main.c net: neterion: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-13 20:50:41 -08:00
vxge-main.h net: vxge: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
vxge-reg.h
vxge-traffic.c net: neterion: vxge: remove set but not used variables 'max_frags' and 'txdl_priv' 2018-11-28 11:08:43 -08:00
vxge-traffic.h vxge: make local functions static 2014-01-16 16:22:54 -08:00
vxge-version.h