[PATCH] app/regex: fix mbuf size for multi segemnt buffers

Thomas Monjalon thomas at monjalon.net
Tue Jul 5 22:20:30 CEST 2022


05/07/2022 10:09, Raslan Darawsheh:
> When allocating multi segmented buffers, and in case there is
> a remainder in total buf len, the actual job len might be more
> than expected job_len.
> 
> This adds additional space in the mbuf in the multi seg case,
> to allow the remaining memory to be stored in one segment.
> 
> Fixes: c1d1b94eec58 ("app/regex: fix number of matches")
> Cc: ggribbon at nvidia.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Raslan Darawsheh <rasland at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>

Applied (with fixed typo in title), thanks.






More information about the stable mailing list