Skip to content
Commit bb581ef3 authored by MD Danish Anwar's avatar MD Danish Anwar Committed by Greg Kroah-Hartman
Browse files

net: ti: icssg-prueth: Fix start counter for ft1 filter

[ Upstream commit 56a5cf53 ]

The start counter for FT1 filter is wrongly set to 0 in the driver.
FT1 is used for source address violation (SAV) check and source address
starts at Byte 6 not Byte 0. Fix this by changing start counter to
ETH_ALEN in icssg_ft1_set_mac_addr().

Fixes: e9b4ece7

 ("net: ti: icssg-prueth: Add Firmware config and classification APIs.")
Signed-off-by: default avatarMD Danish Anwar <danishanwar@ti.com>
Link: https://lore.kernel.org/r/20240527063015.263748-1-danishanwar@ti.com
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ff3deb79
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment