linux/drivers/net/ethernet/netronome/nfp/abm
Wei Yongjun 5099dea0a5 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: 174ab544e3 ("nfp: abm: add cls_u32 offload for simple band classification")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-05-08 18:39:36 -07:00
..
cls.c Revert "nfp: abm: fix memory leak in nfp_abm_u32_knode_replace" 2019-12-13 18:13:22 -08:00
ctrl.c nfp: add a mutex lock for the vNIC ctrl BAR 2019-04-12 17:29:15 -07:00
main.c nfp: abm: fix error return code in nfp_abm_vnic_alloc() 2020-05-08 18:39:36 -07:00
main.h drivers: net: use flow block API 2019-07-09 14:38:50 -07:00
qdisc.c nfp: abm: add support for more threshold actions 2018-11-19 18:53:46 -08:00