> -Original Message-
> From: Tudor Cornea
> Sent: Thursday, August 5, 2021 7:35 PM
> To: Wu, Jingjing ; Xing, Beilei
> Cc: Zhang, Qi Z ; dev@dpdk.org; Tudor Cornea
>
> Subject: [PATCH] net/iavf: fix overflow in maximum packet length config
>
> The len variable, used in the computatio
The len variable, used in the computation of max_pkt_len could
overflow, if used to store the result of the following computation:
rxq->rx_buf_len * IAVF_MAX_CHAINED_RX_BUFFERS
Since, we could define the mbuf size to have a large value (i.e 13312),
and IAVF_MAX_CHAINED_RX_BUFFERS is defined as 5,
2 matches
Mail list logo