diff options
author | Wei Yongjun <[email protected]> | 2020-05-08 07:27:35 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-05-08 18:39:36 -0700 |
commit | 5099dea0a59f1c89525bb0ceac36689178a4c125 (patch) | |
tree | b48d4ab601bbf3b84ebf82caa5756703f26072f3 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 1f8492df081bd66255764f3ce82ba1b2c37def49 (diff) |
nfp: abm: fix error return code in nfp_abm_vnic_alloc()
Fix to return negative error code -ENOMEM from the kzalloc() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 174ab544e3bc ("nfp: abm: add cls_u32 offload for simple band classification")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions