Files
linux/drivers
Jia-Ju Bai 9fb2fc4e28 net: wan: fix error return code of uhdlc_init()
[ Upstream commit 62765d3955 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 10:48:46 +09:00
..
2023-05-12 16:27:16 +09:00
2023-05-16 10:36:45 +09:00
2023-05-15 12:46:28 +09:00
2023-05-16 10:26:33 +09:00
2023-05-16 09:58:13 +09:00
2023-05-15 10:37:00 +09:00
2023-05-15 09:23:01 +09:00
2023-05-16 10:40:01 +09:00
2023-05-15 08:28:33 +09:00
2023-05-15 16:59:11 +09:00