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

net: sched: 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/20210204073950.18372-1-zhengyongjun3@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 247b557e
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