aboutsummaryrefslogtreecommitdiff
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorZheng Yongjun2021-02-04 15:39:50 +0800
committerJakub Kicinski2021-02-06 11:15:28 -0800
commita64566a22b6a943105b01f47e8ae97779cab1417 (patch)
tree78676c548c9fd1381973d66c5927ae6790dedbeb /net/sched/cls_api.c
parent247b557ee52a8f404d79d365ac6b2c94d7332381 (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