Files
linux/drivers/net
Subbaraya Sundeep b3fe6d1921 octeontx2-af: Fix loop in free and unmap counter
[ Upstream commit 6537e96d74 ]

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: a958dd59f9 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:38 +02:00
..
2021-07-25 14:35:15 +02:00
2020-09-03 11:26:41 +02:00
2019-07-03 11:24:38 -07:00
2019-05-14 15:20:11 -07:00
2019-07-30 14:21:32 -07:00