Zheng Yongjun e7a5c17a9e net/x25: Return the correct errno code
[ Upstream commit d7736958668c4facc15f421e622ffd718f5be80a ]

When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:49:12 -04:00
..
2019-12-05 15:35:12 +01:00
2021-06-03 08:23:32 +02:00
2019-03-23 13:19:44 +01:00