commit | 04c1556bfc79734ae91af632aff2f754a501c36c | [log] [tgz] |
---|---|---|
author | Zheng Yongjun <zhengyongjun3@huawei.com> | Wed Jun 02 22:06:30 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 18 10:00:06 2021 +0200 |
tree | 760c387e0de4fe897bcca9968d773f5d622bf552 | |
parent | 0aa356950800e18a96c78633cadaf1d1c6c33d7d [diff] |
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>