diff options
author | Zheng Yongjun | 2021-02-04 15:39:50 +0800 |
---|---|---|
committer | Jakub Kicinski | 2021-02-06 11:15:28 -0800 |
commit | a64566a22b6a943105b01f47e8ae97779cab1417 (patch) | |
tree | 78676c548c9fd1381973d66c5927ae6790dedbeb /net/sched/cls_api.c | |
parent | 247b557ee52a8f404d79d365ac6b2c94d7332381 (diff) |
net: sched: 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/20210204073950.18372-1-zhengyongjun3@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions