On Thu, Dec 21, 2023 at 7:40 PM Sivaramakrishnan Venkat <venkatx.sivaramakrish...@intel.com> wrote: > > Incorrect ptypes list causes buffer overflow for Address Sanitizer > run.Previously, the last element in the ptypes lists to be
Which driver(s) is(are) affected? We need separated fixes for backporting. > "RTE_PTYPE_UNKNOWN" for rte_eth_dev_get_supported_ptypes(), but this was > not clearly documented and many PMDs did not follow this implementation. > Instead, the dev_supported_ptypes_get() function pointer now returns the > number of elements to eliminate the need for "RTE_PTYPE_UNKNOWN" > as the last item. > > Fixes: 4790935 ("ethdev: make device operations struct private") I doubt it is a correct Fixes: tag. > Cc: ferruh.yi...@intel.com > CC: sta...@dpdk.org Once the fixes are separated, then the driver API update proposed in this patch can be done in a second step (and it won't be backported). The CI caught unconverted drivers, please fix. -- David Marchand