diff options
| author | 2022-03-26 17:51:03 +0800 | |
|---|---|---|
| committer | 2022-03-26 09:16:49 -0700 | |
| commit | f5cd60169f981ca737c9e49c446506dfafc90a35 (patch) | |
| tree | 4550fefb87f6c49c36d65bae29db31758c20d254 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | net: hns3: clean residual vf config after disable sriov (diff) | |
| download | linux-dev-f5cd60169f981ca737c9e49c446506dfafc90a35.tar.xz linux-dev-f5cd60169f981ca737c9e49c446506dfafc90a35.zip | |
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/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
