summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2020-07-28 05:16:48 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-28 22:54:48 +0300
commitcfdaeba5ddc98b303639a3265c2031ac5db249d6 (patch)
treebcd6dd56614f7d4728445ff1b0f9f8929e143f69 /tools/perf/scripts/python/export-to-sqlite.py
parent181964e619b76ae2e71bcdc6001cf977bec4cf6e (diff)
downloadlinux-cfdaeba5ddc98b303639a3265c2031ac5db249d6.tar.xz
net: hns3: fix desc filling bug when skb is expanded or lineared
The linear and frag data part may be changed when the skb is expanded or lineared in skb_cow_head() or skb_checksum_help(), which is called by hns3_fill_skb_desc(), so the linear len return by skb_headlen() before the calling of hns3_fill_skb_desc() is unreliable. Move hns3_fill_skb_desc() before the calling of skb_headlen() to fix this bug. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions