1
0
Fork 0
alistair23-linux/drivers/net/ethernet/hisilicon
Jia-Ju Bai 143c253f42 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>
2021-03-08 11:56:00 -08:00
..
hns net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch() 2021-03-08 11:56:00 -08:00
hns3 net: hns3: fix bug when calculating the TCAM table info 2021-02-28 12:04:00 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hip04_eth.c hisilicon: let core reject the unsupported coalescing parameters 2020-03-05 12:12:35 -08:00
hisi_femac.c net: convert suitable drivers to use phy_do_ioctl_running 2020-01-23 10:49:30 +01:00
hix5hd2_gmac.c net: hix5hd2_gmac: Remove unneeded cast from memory allocation 2020-07-24 17:28:51 -07:00
hns_mdio.c drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00