[PATCH v2 1/2] net/af_xdp: fix use after free in af_xdp_tx_zc()

Ariel Otilibili ariel.otilibili at 6wind.com
Tue Jan 21 09:54:39 CET 2025


Hi Maryam,

On Mon, Jan 20, 2025 at 3:54 PM Maryam Tahhan <mtahhan at redhat.com> wrote:

> I think that you could've just set tx_bytes to the desc->len as this is
> being set in all scenarios...
>
> tx_bytes += desc->len;
>
 Thanks for your feedback. I'll change that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250121/08884275/attachment.htm>


More information about the dev mailing list