[PATCH] net/tap: fix build with LTO
Stephen Hemminger
stephen at networkplumber.org
Tue Sep 23 05:57:07 CEST 2025
On Mon, 22 Sep 2025 09:30:43 +0200
David Marchand <david.marchand at redhat.com> wrote:
> The compiler has trouble understanding that the code is actually pointing
> at the data in the message past the nh struct.
>
> Update the tap_nlattr_add* helpers and the NLMSG_TAIL macro passing a
> pointer to msg.
>
> Bugzilla ID: 1511
> Fixes: 7c25284e30c2 ("net/tap: add netlink back-end for flow API")
> Cc: stable at dpdk.org
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
Queued to next-net.
Other drivers that still have outstanding LTO issues
are: mlx5, cnxk, bnxt
More information about the dev
mailing list