05/07/2021 13:07, Xueming(Steven) Li: > From: Andrew Rybchenko <[email protected]> > > From: Viacheslav Galaktionov <[email protected]> > > > > In its current state, the API can overflow the user-passed buffer if a new > > representor range appears between function calls. > > > > In order to solve this problem, augment the representor info structure with > > the numbers of allocated and initialized ranges. This way > > the users of this structure can be sure they will not overrun the buffer. > > > > Fixes: 85e1588ca72f ("ethdev: add API to get representor info") > > Cc: [email protected] > > > > Signed-off-by: Viacheslav Galaktionov <[email protected]> > > Signed-off-by: Andrew Rybchenko <[email protected]> > > Reviewed-by: Xueming Li <[email protected]>
Applied, thanks.

