diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2021-08-30 20:00:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-31 12:35:26 +0200 |
commit | 6537e96d743b89294b397b4865c6c061abae31b0 (patch) | |
tree | a867c779caa97772ca551ccec07c0c44a7b6f55a /drivers/net/Makefile | |
parent | af_unix: fix potential NULL deref in unix_dgram_connect() (diff) | |
download | linux-6537e96d743b89294b397b4865c6c061abae31b0.tar.xz linux-6537e96d743b89294b397b4865c6c061abae31b0.zip |
octeontx2-af: Fix loop in free and unmap counter
When the given counter does not belong to the entry
then code ends up in infinite loop because the loop
cursor, entry is not getting updated further. This
patch fixes that by updating entry for every iteration.
Fixes: a958dd59f9ce ("octeontx2-af: Map or unmap NPC MCAM entry and counter")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Makefile')
0 files changed, 0 insertions, 0 deletions