aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2018-09-25 09:21:55 +0000
committerDavid S. Miller <[email protected]>2018-09-25 17:42:20 +0000
commit2e9361efa707e186d91b938e44f9e326725259f7 (patch)
treee7685fa03f226067c362105afdb5cf3f468121ff /net/tipc/socket.c
parentMerge branch 'xen-netback-hash' (diff)
downloadkernel-2e9361efa707e186d91b938e44f9e326725259f7.tar.gz
kernel-2e9361efa707e186d91b938e44f9e326725259f7.zip
net: hns: fix for unmapping problem when SMMU is on
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 <[email protected]> Signed-off-by: Peng Li <[email protected]> Reviewed-by: Yisen Zhuang <[email protected]> Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions