[PATCH V2] pipeline: fix packet mirroring configuration
Thomas Monjalon
thomas at monjalon.net
Mon Jun 20 16:05:26 CEST 2022
13/06/2022 19:28, Cristian Dumitrescu:
> Fix segmentation fault due to null pointer dereferencing inside the
> "mirror" instruction when number of mirroring slots is set to 0. This
> was taking place when the "mirror" instruction was used without the
> mirror feature being properly configured, i.e. the API function
> rte_swx_pipeline_mirroring_config was not called at initialization.
>
> Fixes: dac0ecd9098 (" pipeline: support packet mirroring")
>
> Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
Applied, thanks.
More information about the dev
mailing list