Skip to content
Commit 247b557e authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Jakub Kicinski
Browse files

dccp: Return the correct errno code



When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20210204072820.17723-1-zhengyongjun3@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1697291d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment