Zheng Yongjun 51cc5ad292 net: Return the correct errno code
[ Upstream commit 49251cd00228a3c983651f6bb2f33f6a0b8f152e ]

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-18 09:59:00 +02:00
..
2019-09-26 08:56:17 +02:00
2019-12-04 22:30:54 +01:00
2021-06-16 11:59:35 +02:00
2021-06-18 09:59:00 +02:00