[PATCH] doc: announce changes in structure alignments for UBSan

Thomas Monjalon thomas at monjalon.net
Mon Jul 21 22:15:40 CEST 2025


09/07/2025 14:40, David Marchand:
> As part of the effort to limit undefined behaviors in DPDK code, some
> structure alignments revealed not to be accurate enough.
> At the moment two structures have been identified but others may be
> found while running more parts of DPDK with UBSan.
> 
> Though the calling code can explicitly request alignment,
> we would prefer to put the alignment constraints as part of the
> structure definition itself.
> 
> Such changes are ABI breakages.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Morten Brørup <mb at smartsharesystems.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>

Applied, thanks.




More information about the dev mailing list