aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_ksymdeps.sh
diff options
context:
space:
mode:
authorJia-Ju Bai2021-03-07 00:40:12 -0800
committerDavid S. Miller2021-03-08 11:56:00 -0800
commit143c253f42bad20357e7e4432087aca747c43384 (patch)
treec5d1b1378faf9c95ea82255007788b057f812e7a /scripts/gen_ksymdeps.sh
parent4d8c79b7e9ff05030aad68421f7584b129933ba6 (diff)
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 'scripts/gen_ksymdeps.sh')
0 files changed, 0 insertions, 0 deletions