summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHao Chen <chenhao288@hisilicon.com>2022-03-26 12:51:03 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-26 19:16:49 +0300
commitf5cd60169f981ca737c9e49c446506dfafc90a35 (patch)
tree4550fefb87f6c49c36d65bae29db31758c20d254 /tools/perf/scripts/python/stackcollapse.py
parent671cb8cbb9c9e24b681d21b1bfae991e2386ac73 (diff)
downloadlinux-f5cd60169f981ca737c9e49c446506dfafc90a35.tar.xz
net: hns3: add netdev reset check for hns3_set_tunable()
When pci device reset failed, it does uninit operation and priv->ring is NULL, it causes accessing NULL pointer error. Add netdev reset check for hns3_set_tunable() to fix it. Fixes: 99f6b5fb5f63 ("net: hns3: use bounce buffer when rx page can not be reused") Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions