Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578703

Re: [PATCH V2 net] net: hns: Fix the device being used for dma mapping during TX

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH V2 net] net: hns: Fix the device being used for dma mapping during TX
Date 2017-02-10 19:50 +0100
Message-ID <t9oqB-7bE-7@gated-at.bofh.it> (permalink)
References <t8VoC-5CX-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Salil Mehta <salil.mehta@huawei.com>
Date: Thu, 9 Feb 2017 11:46:15 +0000

> From: Kejian Yan <yankejian@huawei.com>
> 
> 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>

Applied, thank you.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V2 net] net: hns: Fix the device being used for dma mapping during TX Salil Mehta <salil.mehta@huawei.com> - 2017-02-09 12:50 +0100
  Re: [PATCH V2 net] net: hns: Fix the device being used for dma  mapping during TX David Miller <davem@davemloft.net> - 2017-02-10 19:50 +0100

csiph-web