summaryrefslogtreecommitdiff
path: root/drivers/hsi
diff options
context:
space:
mode:
authorKejian Yan <yankejian@huawei.com>2017-05-24 01:53:41 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-17 04:41:50 (GMT)
commitbed8b8627a3339f30c62534581deb8a37c7b8b8a (patch)
treedf356921ca9f9a51240767f695187fc1dcc06e1a /drivers/hsi
parent008798746e6e1d68a24674690e355b5619711fc4 (diff)
downloadlinux-bed8b8627a3339f30c62534581deb8a37c7b8b8a.tar.xz
net: hns: Fix the device being used for dma mapping during TX
[ Upstream commit b85ea006b6bebb692628f11882af41c3e12e1e09 ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions