diff options
author | 2021-03-07 01:12:56 -0800 | |
---|---|---|
committer | 2021-03-08 11:56:40 -0800 | |
commit | 62765d39553cfd1ad340124fe1e280450e8c89e2 (patch) | |
tree | c94b7c77cecc7e0300a9a5bb0f26fc717e609b00 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch() (diff) | |
download | wireguard-linux-62765d39553cfd1ad340124fe1e280450e8c89e2.tar.xz wireguard-linux-62765d39553cfd1ad340124fe1e280450e8c89e2.zip |
net: wan: fix error return code of uhdlc_init()
When priv->rx_skbuff or priv->tx_skbuff is NULL, no error return code of
uhdlc_init() is assigned.
To fix this bug, ret is assigned with -ENOMEM in these cases.
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