diff options
| author | Yunsheng Lin <[email protected]> | 2019-06-13 17:12:29 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-14 19:26:16 -0700 |
| commit | 757188005f905664b0186b88cf26a7e844190a63 (patch) | |
| tree | 98b4f62a2783b2496d0a9224e238a193c58d340f /tools/perf/scripts/python/bin | |
| parent | d547ecdc1fc1eb5e9caf678d2f1c02cf3d77cbe7 (diff) | |
net: hns3: fix for dereferencing before null checking
The netdev is dereferenced before null checking in the function
hns3_setup_tc.
This patch moves the dereferencing after the null checking.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions