diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2021-03-07 00:40:12 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-08 11:56:00 -0800 |
commit | 143c253f42bad20357e7e4432087aca747c43384 (patch) | |
tree | c5d1b1378faf9c95ea82255007788b057f812e7a /net/xdp/Makefile | |
parent | 4d8c79b7e9ff05030aad68421f7584b129933ba6 (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 'net/xdp/Makefile')
0 files changed, 0 insertions, 0 deletions