https://github.com/torvalds/linux
Revision e51000db4c880165eab06ec0990605f24e75203f authored by Sriharsha Basavapatna on 05 June 2015, 10:03:59 UTC, committed by David S. Miller on 07 June 2015, 22:35:11 UTC
There are several places in the driver (all in control paths) where
coherent dma memory is being allocated using either dma_alloc_coherent()
or the deprecated pci_alloc_consistent(). All these calls should be
changed to use dma_zalloc_coherent() to avoid uninitialized fields in
data structures backed by this memory.

Reported-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 1d7c490
History
Tip revision: e51000db4c880165eab06ec0990605f24e75203f authored by Sriharsha Basavapatna on 05 June 2015, 10:03:59 UTC
be2net: Replace dma/pci_alloc_coherent() calls with dma_zalloc_coherent()
Tip revision: e51000d
File Mode Size
apparmor
integrity
keys
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 5.7 KB
Makefile -rw-r--r-- 913 bytes
capability.c -rw-r--r-- 25.1 KB
commoncap.c -rw-r--r-- 28.1 KB
device_cgroup.c -rw-r--r-- 21.1 KB
inode.c -rw-r--r-- 6.7 KB
lsm_audit.c -rw-r--r-- 9.5 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 36.9 KB

back to top