Revision b85ea006b6bebb692628f11882af41c3e12e1e09 authored by Kejian Yan on 09 February 2017, 11:46:15 UTC, committed by David S. Miller on 10 February 2017, 18:40:30 UTC
This patch fixes the device being used to DMA map skb->data.
Erroneous device assignment causes the crash when SMMU is enabled.
This happens during TX since buffer gets DMA mapped with device
correspondign to net_device and gets unmapped using the device
related to DSAF.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent bb1a619
History
File Mode Size
apparmor
integrity
keys
loadpin
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 7.1 KB
Makefile -rw-r--r-- 989 bytes
commoncap.c -rw-r--r-- 31.4 KB
device_cgroup.c -rw-r--r-- 21.0 KB
inode.c -rw-r--r-- 6.3 KB
lsm_audit.c -rw-r--r-- 10.2 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 54.8 KB

back to top