diff options
author | 2021-03-07 00:40:12 -0800 | |
---|---|---|
committer | 2021-03-08 11:56:00 -0800 | |
commit | 143c253f42bad20357e7e4432087aca747c43384 (patch) | |
tree | c5d1b1378faf9c95ea82255007788b057f812e7a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: usb: log errors to dmesg/syslog (diff) | |
download | wireguard-linux-143c253f42bad20357e7e4432087aca747c43384.tar.xz wireguard-linux-143c253f42bad20357e7e4432087aca747c43384.zip |
net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
When hns_assemble_skb() returns NULL to skb, no error return code of
hns_nic_clear_all_rx_fetch() is assigned.
To fix this bug, ret is assigned with -ENOMEM in this case.
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions