Re: [dpdk-dev] [PATCH] lib/compressdev: Fix logic error on op allocation

2018-10-26 Thread Thomas Monjalon
27/10/2018 02:17, Fiona Trahe: > Fixed bad logic in rte_comp_op_alloc() checking return > value from rte_comp_op_raw_bulk_alloc(). This > could have resulted in a seg-fault in error case. > Made rte_comp_ob_bulk_alloc() code consistent > with rte_comp_op_alloc(). > > Thanks to Sabyasachi Sengupta

[dpdk-dev] [PATCH] lib/compressdev: Fix logic error on op allocation

2018-10-26 Thread Fiona Trahe
Fixed bad logic in rte_comp_op_alloc() checking return value from rte_comp_op_raw_bulk_alloc(). This could have resulted in a seg-fault in error case. Made rte_comp_ob_bulk_alloc() code consistent with rte_comp_op_alloc(). Thanks to Sabyasachi Sengupta for pointing it out. Fixes: 96086db5a369 ("c