diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2021-06-02 22:06:30 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-03 15:13:56 -0700 |
commit | d7736958668c4facc15f421e622ffd718f5be80a (patch) | |
tree | 8e8421d34921a4d1749e3d7b899ac7c154bb7e77 /net/compat.c | |
parent | a27fb314cba8cb84cd6456a4699c3330a83c326d (diff) | |
download | linux-d7736958668c4facc15f421e622ffd718f5be80a.tar.gz |
net/x25: Return the correct errno code
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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions