diff options
author | Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com> | 2019-03-20 15:11:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-21 00:28:13 +0100 |
commit | 64447506f152cf0f88a0fc23140ca1c5f7ff34a8 (patch) | |
tree | 31c141610753eefadcc98592f48d36051353884a /net/tipc | |
parent | Merge branch 'ks8851-fixes' (diff) | |
download | linux-64447506f152cf0f88a0fc23140ca1c5f7ff34a8.tar.xz linux-64447506f152cf0f88a0fc23140ca1c5f7ff34a8.zip |
dpaa2-eth: Fix possible access beyond end of array
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@redhat.com>
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions