lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 25 Sep 2018 10:43:36 -0700 (PDT)
From:   David Miller <>
Subject: Re: [PATCH net] net: hns: fix for unmapping problem when SMMU is on

From: Salil Mehta <>
Date: Tue, 25 Sep 2018 10:21:55 +0100

> From: Yunsheng Lin <>
> If SMMU is on, there is more likely that skb_shinfo(skb)->frags[i]
> can not send by a single BD. when this happen, the
> hns_nic_net_xmit_hw function map the whole data in a frags using
> skb_frag_dma_map, but unmap each BD' data individually when tx is
> done, which causes problem when SMMU is on.
> This patch fixes this problem by ummapping the whole data in a
> frags when tx is done.
> Signed-off-by: Yunsheng Lin <>
> Signed-off-by: Peng Li <>
> Reviewed-by: Yisen Zhuang <>
> Signed-off-by: Salil Mehta <>

Applied, thank you.

Powered by blists - more mailing lists