[PATCH v1] ethdev: remove bitfields from trace

Thomas Monjalon thomas at monjalon.net
Wed Mar 1 16:59:50 CET 2023


28/02/2023 17:29, Ferruh Yigit:
> On 2/28/2023 3:55 PM, Ankur Dwivedi wrote:
> > To capture bitfield variables in trace, the pointer to the structure
> > containing the bitfields was referenced. But during trace point
> > registration the pointer contains invalid address. Referencing this
> > invalid address causes segmentation fault.
> > 
> > This patch removes the capture of bitfield variables in trace.
> > 
> > Bugzilla ID: 1167
> > Fixes: 6679cf21d608 ("ethdev: add trace points")
> > Fixes: ed04fd4072e9 ("ethdev: add trace points for flow")
> > 
> > Signed-off-by: Ankur Dwivedi <adwivedi at marvell.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit at amd.com>
> 
> 
> @Thomas, do you want to get this fix to main repo, since it cause crash
> and getting from next-net can increase merge time.

Applied directly in mainline, thanks.





More information about the dev mailing list