diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2021-02-04 15:28:20 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-06 11:15:28 -0800 |
commit | 247b557ee52a8f404d79d365ac6b2c94d7332381 (patch) | |
tree | d69fccb55c7caf3f57d52f404a9ab3a78ecbb068 /net/dccp/ackvec.h | |
parent | 1697291dae7cc582d8f737d788991c01b27de90d (diff) |
dccp: Return the correct errno code
When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20210204072820.17723-1-zhengyongjun3@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dccp/ackvec.h')
0 files changed, 0 insertions, 0 deletions