Files
linux/drivers/net
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
..
2016-06-15 22:06:06 -07:00
2023-05-16 08:56:31 +09:00
2016-05-09 00:00:28 -04:00
2018-03-22 09:17:57 +01:00