diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2021-02-04 08:42:54 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2021-02-04 09:29:27 +0100 |
commit | 4ac7a6eecbec90c7f83d5ea6f0498d9fa9c62917 (patch) | |
tree | 611bb2ce05cac8edb7be5407f75044e0e24de508 /net/ipv6/esp6.c | |
parent | esp: Simplify the calculation of variables (diff) | |
download | linux-4ac7a6eecbec90c7f83d5ea6f0498d9fa9c62917.tar.xz linux-4ac7a6eecbec90c7f83d5ea6f0498d9fa9c62917.zip |
xfrm: 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: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/esp6.c')
0 files changed, 0 insertions, 0 deletions