[PATCH] net/iavf: add segment-length check to Tx prep
Bruce Richardson
bruce.richardson at intel.com
Tue Nov 19 12:41:22 CET 2024
On Tue, Nov 19, 2024 at 09:17:57AM +0000, Connolly, Padraig J wrote:
> __________________________________________________________________
>
> From: Medvedkin, Vladimir <vladimir.medvedkin at intel.com>
> Sent: Monday 11 November 2024 5:46 pm
> To: Richardson, Bruce <bruce.richardson at intel.com>; dev at dpdk.org
> <dev at dpdk.org>
> Cc: stable at dpdk.org <stable at dpdk.org>; Connolly, Padraig J
> <padraig.j.connolly at intel.com>; Stokes, Ian <ian.stokes at intel.com>;
> Zhang, Qi Z <qi.z.zhang at intel.com>; Kevin Liu <kevinx.liu at intel.com>
> Subject: Re: [PATCH] net/iavf: add segment-length check to Tx prep
>
> On 11/11/2024 16:42, Bruce Richardson wrote:
> > In the Tx prep function, the metadata checks were only checking the
> > packet length and ignoring the data length. For single-buffer packets
> we
> > can quickly check that the data length is the packet length.
> >
> > Fixes: 19ee91c6bd9a ("net/iavf: check illegal packet sizes")
> > Cc: stable at dpdk.org
> >
> > Reported-by: Padraig Connolly <padraig.j.connolly at intel.com>
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> Tested-by: Padraig Connolly <padraig.j.connolly at intel.com>
Applied to dpdk-next-net-intel
/Bruce
More information about the stable
mailing list