On Thu, 16 Jan 2025 20:56:38 +0100 Ariel Otilibili <[email protected]> wrote:
> tx_bytes is computed after both branches are tested. This might
> produce a use after memory free.
>
> The computation is now moved into both branches.
>
> Bugzilla ID: 1440
> Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks")
> Signed-off-by: Ariel Otilibili <[email protected]>
> ---
Acked-by: Stephen Hemminger <[email protected]>

