On Thu, 16 Jan 2025 20:56:38 +0100 Ariel Otilibili <ariel.otilib...@6wind.com> 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 <ariel.otilib...@6wind.com> > --- Acked-by: Stephen Hemminger <step...@networkplumber.org>