]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
octeontx2-pf: Use correct struct reference in test condition
authorDeepak R Varma <drv@mailo.com>
Wed, 22 Feb 2023 13:28:48 +0000 (18:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:50:31 +0000 (13:50 +0100)
commit666f15bc1f844359c16d362cb931ba70650d5c98
tree614b3d70525f59630971747c34db0e63ca1dc5f0
parent6d529928ea212127851a2df8c40d822237ca946b
octeontx2-pf: Use correct struct reference in test condition

[ Upstream commit 3acd9db9293f3b33ac04e8d44ed05b604ad1ac26 ]

Fix the typo/copy-paste error by replacing struct variable ah_esp_mask name
by ah_esp_hdr.
Issue identified using doublebitand.cocci Coccinelle semantic patch.

Fixes: b7cf966126eb ("octeontx2-pf: Add flow classification using IP next level protocol")
Link: https://lore.kernel.org/all/20210111112537.3277-1-naveenm@marvell.com/
Signed-off-by: Deepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/Y/YYkKddeHOt80cO@ubun2204.myguest.virtualbox.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c