diff options
| author | Wei Fang <wei.fang@nxp.com> | 2023-05-04 16:03:59 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-17 13:58:51 +0200 |
| commit | 7484e72b92d6aa2a35336991a9917ef5f5fc459e (patch) | |
| tree | 4fae847fb3d5bf8911fca9e8d559ec8940b4ef8b /tools/perf/scripts/python | |
| parent | e3c0ee4e29d374740820e25d72a56477bbd5ae6b (diff) | |
net: enetc: check the index of the SFI rather than the handle
[ Upstream commit 299efdc2380aac588557f4d0b2ce7bee05bd0cf2 ]
We should check whether the current SFI (Stream Filter Instance) table
is full before creating a new SFI entry. However, the previous logic
checks the handle by mistake and might lead to unpredictable behavior.
Fixes: 888ae5a3952b ("net: enetc: add tc flower psfp offload driver")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
