linux_dsm_epyc7002/drivers/net/fddi/skfp
YueHaibing 6310a882fb net: fddi: fix a possible null-ptr-deref
bp->SharedMemAddr is set to NULL while bp->SharedMemSize lesser-or-equal 0,
then memset will trigger null-ptr-deref.

fix it by replacing pci_alloc_consistent with dma_zalloc_coherent.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-08 18:47:46 -04:00
..
h fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
cfm.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
drvfbi.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
ecm.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
ess.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
fplustm.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
hwmtm.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
hwt.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pcmplc.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
pmf.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
queue.c
rmt.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
skfddi.c net: fddi: fix a possible null-ptr-deref 2018-06-08 18:47:46 -04:00
smt.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
smtdef.c
smtinit.c
smttimer.c
srf.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00