[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190320.162903.998898758592076249.davem@davemloft.net>
Date: Wed, 20 Mar 2019 16:29:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ruxandra.radulescu@....com
Cc: netdev@...r.kernel.org, ioana.ciornei@....com, brouer@...hat.com
Subject: Re: [PATCH net] dpaa2-eth: Fix possible access beyond end of array
From: Ioana Ciocoi Radulescu <ruxandra.radulescu@....com>
Date: Wed, 20 Mar 2019 14:11:04 +0000
> Make sure we don't try to enqueue XDP_REDIRECT frames to an
> inexistent FQ.
>
> While it is guaranteed not to have more than one queue per core,
> having fewer queues than CPUs on an interface is a valid
> configuration.
>
> Fixes: d678be1dc1ec ("dpaa2-eth: add XDP_REDIRECT support")
> Reported-by: Jesper Dangaard Brouer <brouer@...hat.com>
> Signed-off-by: Ioana Radulescu <ruxandra.radulescu@....com>
Applied, thanks.
I hope the modulus operation doesn't start showing up on profiles.
Powered by blists - more mailing lists