diff options
author | Peng Li <lipeng321@huawei.com> | 2018-10-16 14:58:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 20:09:59 +0300 |
commit | 5188f218fc860da15755bfa5cc357baf2114d586 (patch) | |
tree | 56d6fec70c66a61522c6f4be606b81ac6eb68d85 /net/unix/af_unix.c | |
parent | 0bbbf15dea4ffec4206cea22e8b54e61203a42a2 (diff) | |
download | linux-5188f218fc860da15755bfa5cc357baf2114d586.tar.xz |
net: hns3: move DMA map into hns3_fill_desc
To solve the L3 checksum error problem which happens when driver
does not clear L3 checksum, DMA map should be done after calling
skb_cow_head.
This patch moves DMA map into hns3_fill_desc to ensure that DMA
map is done after calling skb_cow_head.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions